rtsp: include in.h for FreeBSD compat
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 29 Jun 2009 10:20:52 +0000 (12:20 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 29 Jun 2009 10:20:52 +0000 (12:20 +0200)
Fixes #586920

gst-libs/gst/rtsp/gstrtspconnection.c

index f42ade4..4b9ee37 100644 (file)
@@ -69,7 +69,6 @@
 #include <unistd.h>
 #endif
 
-
 /* we include this here to get the G_OS_* defines */
 #include <glib.h>
 #include <gst/gst.h>
@@ -88,6 +87,7 @@
 #include <netdb.h>
 #include <sys/socket.h>
 #include <fcntl.h>
+#include <netinet/in.h>
 #endif
 
 #ifdef HAVE_FIONREAD_IN_SYS_FILIO