summaryrefslogtreecommitdiffstats
path: root/stream/librtsp
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-08 08:20:39 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-08 08:20:39 +0000
commit3a0ee8a23aff622e13d762b5b5ec5a48059d4268 (patch)
treed9a2425da174acab4f44073c72ada33ad9fe5f7e /stream/librtsp
parent8365a97450533b04b87a89f8ab251be8d2c714b9 (diff)
downloadmpv-3a0ee8a23aff622e13d762b5b5ec5a48059d4268.tar.bz2
mpv-3a0ee8a23aff622e13d762b5b5ec5a48059d4268.tar.xz
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' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27234 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/librtsp')
-rw-r--r--stream/librtsp/rtsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/librtsp/rtsp.c b/stream/librtsp/rtsp.c
index 932114a762..d69c684c19 100644
--- a/stream/librtsp/rtsp.c
+++ b/stream/librtsp/rtsp.c
@@ -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>