summaryrefslogtreecommitdiffstats
path: root/gst/udp
diff options
context:
space:
mode:
Diffstat (limited to 'gst/udp')
-rw-r--r--gst/udp/gstudpnetutils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/udp/gstudpnetutils.h b/gst/udp/gstudpnetutils.h
index 68407f7a..6c3f740f 100644
--- a/gst/udp/gstudpnetutils.h
+++ b/gst/udp/gstudpnetutils.h
@@ -27,6 +27,9 @@
#include <glib.h>
#ifdef G_OS_WIN32
+/* ws2_32.dll has getaddrinfo and freeaddrinfo on Windows XP and later.
+ * minwg32 headers check WINVER before allowing the use of these */
+#define WINVER 0x0501
#include <winsock2.h>
#include <ws2tcpip.h>