summaryrefslogtreecommitdiff
path: root/lib/hostip.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/hostip.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/hostip.c')
-rw-r--r--lib/hostip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 7f010a037..ee2d4d2b5 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -25,6 +25,9 @@
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
+#ifdef HAVE_NETINET_IN6_H
+#include <netinet/in6.h>
+#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif