From c152b07e661cbc274cd4979e6b5e053a64656476 Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 29 Aug 2008 22:55:39 +0000 Subject: 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 --- stream/stream_rtsp.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'stream/stream_rtsp.c') diff --git a/stream/stream_rtsp.c b/stream/stream_rtsp.c index d5c02852c1..9cf877a11a 100644 --- a/stream/stream_rtsp.c +++ b/stream/stream_rtsp.c @@ -27,18 +27,10 @@ #include #include #include -#include "config.h" -#ifndef HAVE_WINSOCK2_H -#include -#include -#include -#define closesocket close -#else -#include -#include -#endif #include +#include "config.h" +#include "network.h" #include "stream.h" #include "tcp.h" #include "librtsp/rtsp.h" -- cgit v1.2.3