summaryrefslogtreecommitdiffstats
path: root/gst/udp
diff options
context:
space:
mode:
Diffstat (limited to 'gst/udp')
-rw-r--r--gst/udp/gstudpnetutils.c5
1 files changed, 5 insertions, 0 deletions
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