diff --git a/ChangeLog b/ChangeLog index 813104b7b8..519cdbd7fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +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 diff --git a/gst/udp/gstudpnetutils.c b/gst/udp/gstudpnetutils.c index 58e11bdb2d..9aa7fdd656 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