summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/hostcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/hostcheck.c')
-rw-r--r--libs/libcurl/src/hostcheck.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/libcurl/src/hostcheck.c b/libs/libcurl/src/hostcheck.c
index 23dc3d2a7c..c9d8112d86 100644
--- a/libs/libcurl/src/hostcheck.c
+++ b/libs/libcurl/src/hostcheck.c
@@ -25,12 +25,15 @@
#if defined(USE_OPENSSL) \
|| defined(USE_AXTLS) \
|| defined(USE_GSKIT) \
- || (defined(USE_SCHANNEL) && defined(_WIN32_WCE))
+ || defined(USE_SCHANNEL)
/* these backends use functions from this file */
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
+#ifdef HAVE_NETINET_IN6_H
+#include <netinet/in6.h>
+#endif
#include "hostcheck.h"
#include "strcase.h"