diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | gst/udp/gstudpnetutils.h | 3 |
2 files changed, 11 insertions, 0 deletions
@@ -2,6 +2,14 @@ Patch by: <lrn1986 at gmail dot com> + * gst/udp/gstudpnetutils.h: + Define the correct WINVER so getaddinfo() can be used when using + mingw32. Fixes bug #557294. + +2008-10-27 Sebastian Dröge <sebastian.droege@collabora.co.uk> + + Patch by: <lrn1986 at gmail dot com> + * gst/udp/gstdynudpsink.c: (gst_dynudpsink_render): * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_render): * gst/udp/gstudpsrc.c: (gst_udpsrc_create): 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> |