summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-07-14 13:11:14 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-07-14 13:11:14 +0000
commit0aa90f93f02a52bb6a0394ba24c7094c22e96c48 (patch)
tree0a437612b0547e1774b51ac8c9d104c89d86187c
parent365186956d98872711a9705b008c5da57a6425c0 (diff)
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.
-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