diff stream/librtsp/rtsp.c @ 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 9440e551f9e3
children 44341e4d5621
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>