summaryrefslogtreecommitdiffstats
path: root/stream/stream_netstream.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-29 22:55:39 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-29 22:55:39 +0000
commitc152b07e661cbc274cd4979e6b5e053a64656476 (patch)
tree095a8e6af4d608af6c36496227665b14ac6d4921 /stream/stream_netstream.c
parent2a90e559a97e6a77f2caaf8975f4333c2b8766f3 (diff)
downloadmpv-c152b07e661cbc274cd4979e6b5e053a64656476.tar.bz2
mpv-c152b07e661cbc274cd4979e6b5e053a64656476.tar.xz
Move duplicated '#define closesocket close' into network.h along with
network-related #include #ifdeffery. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27496 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_netstream.c')
-rw-r--r--stream/stream_netstream.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/stream/stream_netstream.c b/stream/stream_netstream.c
index 4a3d2f04ed..36bb72ccc2 100644
--- a/stream/stream_netstream.c
+++ b/stream/stream_netstream.c
@@ -42,15 +42,6 @@
#include <inttypes.h>
#include <errno.h>
-#ifndef HAVE_WINSOCK2_H
-#define closesocket close
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#else
-#include <winsock2.h>
-#endif
-
#include "mp_msg.h"
#include "stream.h"
#include "help_mp.h"