From 0aa90f93f02a52bb6a0394ba24c7094c22e96c48 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Mon, 14 Jul 2008 13:11:14 +0000 Subject: 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. --- gst/udp/gstudpnetutils.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gst/udp') diff --git a/gst/udp/gstudpnetutils.c b/gst/udp/gstudpnetutils.c index 58e11bdb..9aa7fdd6 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 -- cgit