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