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:
reimar 2008-07-26 20:58:50 +00:00
parent 65f404c85f
commit fb2b4dea1c
1 changed files with 2 additions and 1 deletions

View File

@ -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"