gst/tcp/: Add <string.h> includes for memset and FD_ZERO (fixes #323878;
authorBenjamin Pineau <ben.pineau@gmail.com>
Fri, 16 Dec 2005 11:25:51 +0000 (11:25 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 16 Dec 2005 11:25:51 +0000 (11:25 +0000)
Original commit message from CVS:
* gst/tcp/gsttcp.c:
* gst/tcp/gsttcpclientsink.c:
* gst/tcp/gsttcpserversink.c:
* gst/tcp/gsttcpserversrc.c:
Add <string.h> includes for memset and FD_ZERO (fixes #323878;
patch by: Benjamin Pineau).

ChangeLog
gst/tcp/gsttcp.c
gst/tcp/gsttcpclientsink.c
gst/tcp/gsttcpserversink.c
gst/tcp/gsttcpserversrc.c

index 4a8b801..cce3145 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/tcp/gsttcp.c:
+       * gst/tcp/gsttcpclientsink.c:
+       * gst/tcp/gsttcpserversink.c:
+       * gst/tcp/gsttcpserversrc.c:
+         Add <string.h> includes for memset and FD_ZERO (fixes #323878;
+         patch by: Benjamin Pineau).
+
 2005-12-15  Michael Smith  <msmith@fluendo.com>
 
        * gst/videorate/gstvideorate.c: (gst_video_rate_blank_data),
index 26ce382..a112148 100644 (file)
@@ -29,6 +29,7 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>
+#include <string.h>             /* memset, in FD_ZERO macro */
 #include <unistd.h>
 #include <sys/ioctl.h>
 
index a69243c..39a45e6 100644 (file)
@@ -25,6 +25,7 @@
 #include <gst/dataprotocol/dataprotocol.h>
 #include "gsttcp.h"
 #include "gsttcpclientsink.h"
+#include <string.h>             /* memset */
 
 /* elementfactory information */
 static GstElementDetails gst_tcp_client_sink_details =
index 4476657..50803d8 100644 (file)
@@ -29,6 +29,7 @@
 #include "config.h"
 #endif
 #include <gst/gst-i18n-plugin.h>
+#include <string.h>             /* memset */
 
 #include <sys/ioctl.h>
 
index 4f05f9d..d9cef1d 100644 (file)
@@ -26,6 +26,7 @@
 #include <gst/gst-i18n-plugin.h>
 #include "gsttcp.h"
 #include "gsttcpserversrc.h"
+#include <string.h>             /* memset */
 #include <unistd.h>
 #include <sys/ioctl.h>
 #include <fcntl.h>