summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorvayne <vayne@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-28 19:32:35 +0000
committervayne <vayne@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-28 19:32:35 +0000
commit08c1e65e276f0a3377d6b9db80d79f7e74ec6137 (patch)
treec95e55c9568eb687efb748b5431ef5f7d72d38eb /stream
parent5144b63daae40c82fe20061fe687858d154473f7 (diff)
downloadmpv-08c1e65e276f0a3377d6b9db80d79f7e74ec6137.tar.bz2
mpv-08c1e65e276f0a3377d6b9db80d79f7e74ec6137.tar.xz
mingw uses Windows sockets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27141 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/librtsp/rtsp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/stream/librtsp/rtsp.c b/stream/librtsp/rtsp.c
index 30a2987e16..932114a762 100644
--- a/stream/librtsp/rtsp.c
+++ b/stream/librtsp/rtsp.c
@@ -42,7 +42,9 @@
#include <sys/time.h>
#include <sys/types.h>
#include <inttypes.h>
-
+#ifdef HAVE_WINSOCK2
+#include <winsock2.h>
+#endif
#include "mp_msg.h"
#include "rtsp.h"
#include "rtsp_session.h"