aboutsummaryrefslogtreecommitdiffstats
path: root/common/dns-cert.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/dns-cert.c')
-rw-r--r--common/dns-cert.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/dns-cert.c b/common/dns-cert.c
index 7c1b9c678..179bb1524 100644
--- a/common/dns-cert.c
+++ b/common/dns-cert.c
@@ -31,6 +31,9 @@
#include <sys/types.h>
#ifdef USE_DNS_CERT
# ifdef HAVE_W32_SYSTEM
+# ifdef HAVE_WINSOCK2_H
+# include <winsock2.h>
+# endif
# include <windows.h>
# else
# include <netinet/in.h>