diff --git a/ChangeLog b/ChangeLog index 6084bb9e0f..40aa48aa2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-10-27 Sebastian Dröge + + Patch by: + + * 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 Patch by: diff --git a/gst/udp/gstudpnetutils.h b/gst/udp/gstudpnetutils.h index 68407f7a96..6c3f740fe2 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