aboutsummaryrefslogtreecommitdiffstats
path: root/common/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/http.c')
-rw-r--r--common/http.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/http.c b/common/http.c
index c4e6ca99d..d2f13e498 100644
--- a/common/http.c
+++ b/common/http.c
@@ -58,6 +58,9 @@
#include <unistd.h>
#ifdef HAVE_W32_SYSTEM
+# ifdef HAVE_WINSOCK2_H
+# include <winsock2.h>
+# endif
# include <windows.h>
#else /*!HAVE_W32_SYSTEM*/
# include <sys/types.h>