From 0aa90f93f02a52bb6a0394ba24c7094c22e96c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?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 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