summaryrefslogtreecommitdiffstats
path: root/stream/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/http.c')
-rw-r--r--stream/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/http.c b/stream/http.c
index 3af0d47c4d..048edeedca 100644
--- a/stream/http.c
+++ b/stream/http.c
@@ -11,7 +11,7 @@
#include <string.h>
#include <unistd.h>
-#ifndef HAVE_WINSOCK2
+#ifndef HAVE_WINSOCK2_H
#define closesocket close
#else
#include <winsock2.h>