From fb2b4dea1c34e4e75158b5e22b8302d19a090910 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 26 Jul 2008 20:58:50 +0000 Subject: Do not include sys/socket.h when using winsock2, it is pointless and breaks compilation under MinGW. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27352 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/librtsp/rtsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stream') diff --git a/stream/librtsp/rtsp.c b/stream/librtsp/rtsp.c index d69c684c19..89a3b47584 100644 --- a/stream/librtsp/rtsp.c +++ b/stream/librtsp/rtsp.c @@ -41,10 +41,11 @@ #include #include #include -#include #include #ifdef HAVE_WINSOCK2 #include +#else +#include #endif #include "mp_msg.h" #include "rtsp.h" -- cgit v1.2.3