mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
fix compilation on mingw
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10640 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
78c617c1d8
commit
eb9e2a3e24
@ -7,12 +7,12 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#ifndef HAVE_WINSOCK2
|
||||
#include <sys/socket.h>
|
||||
#define closesocket close
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
|
Loading…
Reference in New Issue
Block a user