aboutsummaryrefslogtreecommitdiffstats
path: root/common/srv.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/srv.h')
-rw-r--r--common/srv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/srv.h b/common/srv.h
index b7d487cef..016d2b1f4 100644
--- a/common/srv.h
+++ b/common/srv.h
@@ -32,6 +32,9 @@
#ifdef USE_DNS_SRV
# ifdef _WIN32
+# ifdef HAVE_WINSOCK2_H
+# include <winsock2.h>
+# endif
# include <windows.h>
# else
# include <netinet/in.h>