diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2007-12-10 16:14:02 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2007-12-10 16:14:02 +0000 |
commit | 6fed3ff5205ae57a20c073ab48b93860445a18c3 (patch) | |
tree | cf579bc983c255b0af43e862356130c1e8243957 /ares.h | |
parent | 6606c99b86823ba2934c8f826e187b87a851de6b (diff) | |
download | c-ares-6fed3ff5205ae57a20c073ab48b93860445a18c3.tar.gz c-ares-6fed3ff5205ae57a20c073ab48b93860445a18c3.tar.bz2 c-ares-6fed3ff5205ae57a20c073ab48b93860445a18c3.zip |
Fix for targets that do have 'struct in6_addr', but which doesn't
define 's6_addr' as a macro.
Diffstat (limited to 'ares.h')
-rw-r--r-- | ares.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -245,7 +245,7 @@ int ares_expand_name(const unsigned char *encoded, const unsigned char *abuf, int ares_expand_string(const unsigned char *encoded, const unsigned char *abuf, int alen, unsigned char **s, long *enclen); -#ifndef s6_addr +#if !defined(HAVE_STRUCT_IN6_ADDR) && !defined(s6_addr) struct in6_addr { union { unsigned char _S6_u8[16]; |