diff options
Diffstat (limited to 'stream/network.c')
-rw-r--r-- | stream/network.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/stream/network.c b/stream/network.c index 34f3905734..6e000c07f2 100644 --- a/stream/network.c +++ b/stream/network.c @@ -19,9 +19,7 @@ #include "mp_msg.h" #include "help_mp.h" -#ifndef HAVE_WINSOCK2 -#define closesocket close -#else +#ifdef HAVE_WINSOCK2_H #include <winsock2.h> #include <ws2tcpip.h> #endif |