diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/curl_addrinfo.c | 3 | ||||
-rw-r--r-- | lib/hostcheck.c | 3 | ||||
-rw-r--r-- | lib/hostip.c | 3 | ||||
-rw-r--r-- | lib/urldata.h | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/lib/curl_addrinfo.c b/lib/curl_addrinfo.c index 6eb28bbcb..ec76f7540 100644 --- a/lib/curl_addrinfo.c +++ b/lib/curl_addrinfo.c @@ -27,6 +27,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 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" 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 diff --git a/lib/urldata.h b/lib/urldata.h index 19cb6cafd..3152a11d9 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -85,6 +85,9 @@ #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif +#ifdef HAVE_NETINET_IN6_H +#include <netinet/in6.h> +#endif #include "timeval.h" |