diff options
Diffstat (limited to 'stream/http.c')
-rw-r--r-- | stream/http.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/http.c b/stream/http.c index 3af0d47c4d..2a6d07aee0 100644 --- a/stream/http.c +++ b/stream/http.c @@ -11,8 +11,7 @@ #include <string.h> #include <unistd.h> -#ifndef HAVE_WINSOCK2 -#define closesocket close +#ifndef HAVE_WINSOCK2_H #else #include <winsock2.h> #include <ws2tcpip.h> |