diff options
Diffstat (limited to 'stream/stream.c')
-rw-r--r-- | stream/stream.c | 9 |
1 files changed, 8 insertions, 1 deletions
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 <strings.h> #include "config.h" + +#ifndef HAVE_WINSOCK2_H +#define closesocket close +#else +#include <winsock2.h> +#endif + #include "mp_msg.h" #include "help_mp.h" #include "osdep/shmem.h" -#include "network.h" + #include "stream.h" #include "libmpdemux/demuxer.h" |