From d956310612fc61878fd0f4e905d37ba3a3ac075c Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Mon, 27 Oct 2008 08:40:02 +0000 Subject: gst/udp/gstudpnetutils.h: Define the correct WINVER so getaddinfo() can be used when using mingw32. Fixes bug #557294. Original commit message from CVS: Patch by: * gst/udp/gstudpnetutils.h: Define the correct WINVER so getaddinfo() can be used when using mingw32. Fixes bug #557294. --- gst/udp/gstudpnetutils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gst/udp') 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 #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 #include -- cgit