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/rtp.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'stream/rtp.c') diff --git a/stream/rtp.c b/stream/rtp.c index c2a3857651..f4b84fc3b4 100644 --- a/stream/rtp.c +++ b/stream/rtp.c @@ -12,9 +12,17 @@ #include #include #include -#include #include "config.h" -#include "network.h" +#ifndef HAVE_WINSOCK2_H +#include +#include +#include +#define closesocket close +#else +#include +#include +#endif +#include #include "stream.h" /* MPEG-2 TS RTP stack */ -- cgit v1.2.3