changeset 27202:747d3f6fbe81

Add missing #include <sys/socket.h>, fixes the warnings: stream/librtsp/rtsp.c: In function 'write_stream': stream/librtsp/rtsp.c:68: warning: implicit declaration of function 'send' stream/librtsp/rtsp.c: In function 'read_stream': stream/librtsp/rtsp.c:95: warning: implicit declaration of function 'recv'
author diego
date Tue, 08 Jul 2008 08:20:39 +0000
parents 46e21b0705c8
children c2247f5e64d1
files stream/librtsp/rtsp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/librtsp/rtsp.c	Tue Jul 08 08:17:50 2008 +0000
+++ b/stream/librtsp/rtsp.c	Tue Jul 08 08:20:39 2008 +0000
@@ -41,6 +41,7 @@
 #include <time.h>
 #include <sys/time.h>
 #include <sys/types.h>
+#include <sys/socket.h>
 #include <inttypes.h>
 #ifdef HAVE_WINSOCK2
 #include <winsock2.h>