mirror of
https://github.com/mpv-player/mpv
synced 2025-02-21 15:27:00 +00:00
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
This commit is contained in:
parent
65f404c85f
commit
fb2b4dea1c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user