1
0
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:
faust3 2003-08-17 11:07:18 +00:00
parent 78c617c1d8
commit eb9e2a3e24

View File

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