changeset 10639:10899318ddaf

fix compilation on mingw
author faust3
date Sun, 17 Aug 2003 11:07:18 +0000
parents 9d0b8330a683
children 01e0d93182f8
files libmpdemux/stream_ftp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/stream_ftp.c	Sun Aug 17 10:36:33 2003 +0000
+++ b/libmpdemux/stream_ftp.c	Sun Aug 17 11:07:18 2003 +0000
@@ -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>