[MPlayer-cvslog] r27234 - trunk/stream/librtsp/rtsp.c

diego subversion at mplayerhq.hu
Tue Jul 8 10:20:39 CEST 2008


Author: diego
Date: Tue Jul  8 10:20:39 2008
New Revision: 27234

Log:
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'


Modified:
   trunk/stream/librtsp/rtsp.c

Modified: trunk/stream/librtsp/rtsp.c
==============================================================================
--- trunk/stream/librtsp/rtsp.c	(original)
+++ trunk/stream/librtsp/rtsp.c	Tue Jul  8 10:20:39 2008
@@ -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>



More information about the MPlayer-cvslog mailing list