comparison stream/stream.c @ 27464:be85aae103f2

Move duplicated '#define closesocket close' into network.h along with network-related #include #ifdeffery.
author diego
date Fri, 29 Aug 2008 22:55:39 +0000
parents 5a30f5bc23a0
children c0b233cd30ca
comparison
equal deleted inserted replaced
27463:e16088a911c1 27464:be85aae103f2
11 #endif 11 #endif
12 #include <fcntl.h> 12 #include <fcntl.h>
13 #include <strings.h> 13 #include <strings.h>
14 14
15 #include "config.h" 15 #include "config.h"
16
17 #ifndef HAVE_WINSOCK2_H
18 #define closesocket close
19 #else
20 #include <winsock2.h>
21 #endif
22
23 #include "mp_msg.h" 16 #include "mp_msg.h"
24 #include "help_mp.h" 17 #include "help_mp.h"
25 #include "osdep/shmem.h" 18 #include "osdep/shmem.h"
26 19 #include "network.h"
27 #include "stream.h" 20 #include "stream.h"
28 #include "libmpdemux/demuxer.h" 21 #include "libmpdemux/demuxer.h"
29 22
30 #include "m_option.h" 23 #include "m_option.h"
31 #include "m_struct.h" 24 #include "m_struct.h"