diff options
author | Dominick Meglio <dcm5151@esu.edu> | 2005-06-19 16:58:40 +0000 |
---|---|---|
committer | Dominick Meglio <dcm5151@esu.edu> | 2005-06-19 16:58:40 +0000 |
commit | 336154e7297e28abc892e8077132394e59adc420 (patch) | |
tree | 2a5bd51eff867a54f634b4eacd845b6f68bbb0df /ares/ares_ipv6.h | |
parent | bb0aba34fa668e60477a6cdb086659463125bf70 (diff) | |
download | curl-336154e7297e28abc892e8077132394e59adc420.tar.gz |
Added some checks for the addrinfo structure.
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 */ |