From f27f04a53d56a5b6ca89e80a67c140b6f009c439 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 31 Aug 2008 13:59:54 +0000 Subject: Revert moving closesocket definition and network headers to network.h. This caused lots of trouble on MinGW, we need a different solution. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27504 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'stream/stream.c') diff --git a/stream/stream.c b/stream/stream.c index c71ff28477..9b58c670f2 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -13,10 +13,17 @@ #include #include "config.h" + +#ifndef HAVE_WINSOCK2_H +#define closesocket close +#else +#include +#endif + #include "mp_msg.h" #include "help_mp.h" #include "osdep/shmem.h" -#include "network.h" + #include "stream.h" #include "libmpdemux/demuxer.h" -- cgit v1.2.3