summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 23:17:06 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:45 +1000
commitec2d90a8bc51e6d6b7b210df42cc8e51c98610a6 (patch)
treee416f715dbdfeeb7b5d20efc5335bf4c15305841 /lib/replace/wscript
parent2ea4fd66339017c72578a9b44944e96ab6464e64 (diff)
downloadsamba-ec2d90a8bc51e6d6b7b210df42cc8e51c98610a6.tar.gz
samba-ec2d90a8bc51e6d6b7b210df42cc8e51c98610a6.tar.bz2
samba-ec2d90a8bc51e6d6b7b210df42cc8e51c98610a6.zip
build: fixed sockaddr_in6 test
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 8f5e5fae9f..6743078451 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -105,7 +105,7 @@ def configure(conf):
conf.CHECK_TYPE_IN('struct ifaddrs', 'ifaddrs.h')
conf.CHECK_TYPE_IN('struct addrinfo', 'netdb.h')
conf.CHECK_TYPE_IN('struct sockaddr', 'sys/socket.h')
- conf.CHECK_TYPE_IN('struct sockaddr_in6', 'sys/socket.h')
+ conf.CHECK_CODE('struct sockaddr_in6 x', define='HAVE_STRUCT_SOCKADDR_IN6')
conf.CHECK_TYPE_IN('struct sockaddr_storage', 'sys/socket.h')
conf.CHECK_TYPE_IN('sa_family_t', 'sys/socket.h')