udpsink: make buffer-size work again
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 13 Mar 2012 19:49:43 +0000 (20:49 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 13 Mar 2012 19:49:43 +0000 (20:49 +0100)
gst/udp/gstmultiudpsink.c

index e4d8fbb..eee0edf 100644 (file)
@@ -40,6 +40,7 @@
 #include "gstmultiudpsink.h"
 
 #include <string.h>
+#include <sys/socket.h>
 
 #include "gst/glib-compat-private.h"
 
@@ -821,7 +822,6 @@ gst_multiudpsink_start (GstBaseSink * bsink)
   }
 
 #ifdef SO_SNDBUF
-
   {
     socklen_t len;
     gint sndsize, ret;