libreplace: undef AI_ADDRCONFIG on QNX 6.3.0 (fix bug #6630)
commit91d13b68be55728a85b3832e2da9267dbf4f2464
authorMatt Kraai <mkraai@beckman.com>
Wed, 12 Aug 2009 06:49:24 +0000 (12 08:49 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 12 Aug 2009 11:27:39 +0000 (12 13:27 +0200)
tree4b22dd758d9fb30c190225adc5b74a6e12941126
parente96338bf2b9ff6767a54c6127cdda34591b98c0d
libreplace: undef AI_ADDRCONFIG on QNX 6.3.0 (fix bug #6630)

Some of the functions in source3/lib/util_sock.c use AI_ADDRCONFIG.  On QNX
6.3.0, this macro is defined but, if it's used, getaddrinfo will fail.  This
prevents smbd from opening any sockets.

If I undefine AI_ADDRCONFIG on such systems and allow
lib/replace/system/network.h to define it to be 0, this works around the issue.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
lib/replace/system/network.h