summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--configure.ac2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8c727096..99c487eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-07-03 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+
+ Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
+
+ * configure.ac:
+ Fix build of the RTP plugin with mingw32 by linking to ws2_32
+ for htons() and htonl(). Fixes bug #541412.
+
2008-07-02 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init),
diff --git a/configure.ac b/configure.ac
index 3a037730..86be4035 100644
--- a/configure.ac
+++ b/configure.ac
@@ -144,7 +144,7 @@ AX_CREATE_STDINT_H
dnl used in gst/rtp/gstasteriskh263.c
AC_CHECK_HEADERS([netinet/in.h])
-AC_CHECK_HEADERS([winsock2.h])
+AC_CHECK_HEADERS([winsock2.h], HAVE_WINSOCK2_H=yes)
AM_CONDITIONAL(HAVE_WINSOCK2_H, test "x$HAVE_WINSOCK2_H" = "xyes")
dnl used in gst/udp