mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
NetBSD does not support AI_ADDRCONFIG
(This used to be commit fb3f7f4046
)
This commit is contained in:
parent
d49754944c
commit
00075c4924
@ -137,8 +137,15 @@ const char *rep_inet_ntop(int af, const void *src, char *dst, socklen_t size);
|
||||
#endif
|
||||
|
||||
#ifndef AI_ADDRCONFIG
|
||||
/*
|
||||
* logic copied from AI_NUMERICHOST
|
||||
*/
|
||||
#if defined(HAVE_STRUCT_ADDRINFO) && defined(HAVE_GETADDRINFO)
|
||||
#define AI_ADDRCONFIG 0
|
||||
#else
|
||||
#define AI_ADDRCONFIG 0x0020
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef AI_NUMERICSERV
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user