summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--gst/udp/gstudpnetutils.c5
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 813104b7..519cdbd7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2008-07-14 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+ * 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 <sebastian.droege@collabora.co.uk>
+
Patch by: Alessandro Decina <alessandro at nnva dot org>
* gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp):
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 <stdio.h>
#include <memory.h>
+/* EAI_ADDRFAMILY was obsoleted in BSD at some point */
+#ifndef EAI_ADDRFAMILY
+#define EAI_ADDRFAMILY 1
+#endif
+
#include "gstudpnetutils.h"
#ifdef G_OS_WIN32