diff options
Diffstat (limited to 'stream/librtsp/rtsp.c')
-rw-r--r-- | stream/librtsp/rtsp.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <time.h> #include <sys/time.h> #include <sys/types.h> -#include <sys/socket.h> #include <inttypes.h> #ifdef HAVE_WINSOCK2 #include <winsock2.h> +#else +#include <sys/socket.h> #endif #include "mp_msg.h" #include "rtsp.h" |