summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-17 11:07:18 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-17 11:07:18 +0000
commiteb9e2a3e24f03c0793995af020d0579f4176cd94 (patch)
treef1e00ed176b76eb07d6dfccf84fd2797423787e7 /libmpdemux
parent78c617c1d8b957cb1b877afbc753f2c992fc7ba8 (diff)
downloadmpv-eb9e2a3e24f03c0793995af020d0579f4176cd94.tar.bz2
mpv-eb9e2a3e24f03c0793995af020d0579f4176cd94.tar.xz
fix compilation on mingw
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10640 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/stream_ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/stream_ftp.c b/libmpdemux/stream_ftp.c
index 1260f19291..e3bdeb4e75 100644
--- a/libmpdemux/stream_ftp.c
+++ b/libmpdemux/stream_ftp.c
@@ -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>