diff options
Diffstat (limited to 'ares/ares_ipv6.h')
-rw-r--r-- | ares/ares_ipv6.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ares/ares_ipv6.h b/ares/ares_ipv6.h index 79a37c401..a6d980fe7 100644 --- a/ares/ares_ipv6.h +++ b/ares/ares_ipv6.h @@ -39,6 +39,20 @@ struct sockaddr_in6 }; #endif +#ifndef HAVE_STRUCT_ADDRINFO +struct addrinfo +{ + int ai_flags; + int ai_family; + int ai_socktype; + int ai_protocol; + size_t ai_addrlen; + char *ai_cannonname; + struct sockaddr *ai_addr; + struct addrinfo *ai_next; +}; +#endif + #ifndef NS_IN6ADDRSZ #if SIZEOF_STRUCT_IN6_ADDR == 0 /* We cannot have it set to zero, so we pick a fixed value here */ |