summaryrefslogtreecommitdiff
path: root/lib/hostcheck.c
diff options
context:
space:
mode:
authorRandall S. Becker <rsbecker@nexbridge.com>2017-12-05 10:41:27 -0600
committerDaniel Stenberg <daniel@haxx.se>2017-12-06 00:19:09 +0100
commit76ebd54175bad02b29769d797adf72fdf3df119f (patch)
tree4d4fd29ab506dd46dda8aa6cc86cbaa1ba064beb /lib/hostcheck.c
parent0c65678e71580174686118d60b5947e2e2202605 (diff)
downloadcurl-76ebd54175bad02b29769d797adf72fdf3df119f.tar.gz
configure: check for netinet/in6.h
Needed by HPE NonStop NSE and NSX systems Fixes #2146 Closes #2155
Diffstat (limited to 'lib/hostcheck.c')
-rw-r--r--lib/hostcheck.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/hostcheck.c b/lib/hostcheck.c
index 23dc3d2a7..37bcc12c1 100644
--- a/lib/hostcheck.c
+++ b/lib/hostcheck.c
@@ -31,6 +31,9 @@
#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"