mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-11-21 07:39:44 +00:00
Fix for targets that do have 'struct in6_addr', but which doesn't
define 's6_addr' as a macro.
This commit is contained in:
2
ares.h
2
ares.h
@ -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];
|
||||
|
||||
Reference in New Issue
Block a user