# HG changeset patch # User reimar # Date 1217105930 0 # Node ID 44341e4d5621ff5244dd5bc1a5671d220240327f # Parent 09cf111f68b81cb7784735b42363027ad3280315 Do not include sys/socket.h when using winsock2, it is pointless and breaks compilation under MinGW. diff -r 09cf111f68b8 -r 44341e4d5621 stream/librtsp/rtsp.c --- a/stream/librtsp/rtsp.c Sat Jul 26 18:36:48 2008 +0000 +++ b/stream/librtsp/rtsp.c Sat Jul 26 20:58:50 2008 +0000 @@ -41,10 +41,11 @@ #include #include #include -#include #include #ifdef HAVE_WINSOCK2 #include +#else +#include #endif #include "mp_msg.h" #include "rtsp.h"