1
0
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 commit is contained in:
Volker Lendecke 2008-02-01 14:23:56 +01:00
parent 7ad8e22073
commit fb3f7f4046

View File

@ -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
/*