aboutsummaryrefslogtreecommitdiffstats
path: root/common/mischelp.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/mischelp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/mischelp.h b/common/mischelp.h
index a8b16356a..dd1f3a620 100644
--- a/common/mischelp.h
+++ b/common/mischelp.h
@@ -81,6 +81,9 @@ time_t timegm (struct tm *tm);
# include <sys/socket.h>
# include <sys/un.h>
#else
+# ifdef HAVE_WINSOCK2_H
+# include <winsock2.h>
+# endif
# include <windows.h>
#endif