From 0aa90f93f02a52bb6a0394ba24c7094c22e96c48 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 14 Jul 2008 13:11:14 +0000 Subject: [PATCH] gst/udp/gstudpnetutils.c: EAI_ADDRFAMILY was obsoleted in BSD at some point. Define it to the old value (1) if it's n... Original commit message from CVS: * gst/udp/gstudpnetutils.c: EAI_ADDRFAMILY was obsoleted in BSD at some point. Define it to the old value (1) if it's not defined which should not cause any problems as we're using it internal only anyway. --- ChangeLog | 7 +++++++ gst/udp/gstudpnetutils.c | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 813104b..519cdbd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2008-07-14 Sebastian Dröge + * gst/udp/gstudpnetutils.c: + EAI_ADDRFAMILY was obsoleted in BSD at some point. Define it to the + old value (1) if it's not defined which should not cause any problems + as we're using it internal only anyway. + +2008-07-14 Sebastian Dröge + Patch by: Alessandro Decina * gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp): diff --git a/gst/udp/gstudpnetutils.c b/gst/udp/gstudpnetutils.c index 58e11bd..9aa7fdd 100644 --- a/gst/udp/gstudpnetutils.c +++ b/gst/udp/gstudpnetutils.c @@ -26,6 +26,11 @@ #include #include +/* EAI_ADDRFAMILY was obsoleted in BSD at some point */ +#ifndef EAI_ADDRFAMILY +#define EAI_ADDRFAMILY 1 +#endif + #include "gstudpnetutils.h" #ifdef G_OS_WIN32 -- 2.7.4