summaryrefslogtreecommitdiffstats
path: root/stream/stream_ftp.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-01 07:31:57 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-01 07:31:57 +0000
commit788a4d5f913fd4100f2163cf2e4e4a4a487f21ef (patch)
tree53ae00039c7583faee51750048459f3b83f86bd9 /stream/stream_ftp.c
parentf27f04a53d56a5b6ca89e80a67c140b6f009c439 (diff)
downloadmpv-788a4d5f913fd4100f2163cf2e4e4a4a487f21ef.tar.bz2
mpv-788a4d5f913fd4100f2163cf2e4e4a4a487f21ef.tar.xz
Move '#define closesocket close' preprocessor directive to a common place
and put it under the proper '#ifndef HAVE_CLOSESOCKET' condition. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27505 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_ftp.c')
-rw-r--r--stream/stream_ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_ftp.c b/stream/stream_ftp.c
index 814d7d0083..95632e7375 100644
--- a/stream/stream_ftp.c
+++ b/stream/stream_ftp.c
@@ -11,12 +11,12 @@
#include <errno.h>
#ifndef HAVE_WINSOCK2_H
#include <sys/socket.h>
-#define closesocket close
#else
#include <winsock2.h>
#endif
#include "mp_msg.h"
+#include "network.h"
#include "stream.h"
#include "help_mp.h"
#include "m_option.h"