summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-12-12 12:05:43 +0300
committerMatthieu Patou <mat@matws.net>2010-12-12 12:07:39 +0300
commit864335ec186e08bca8d9404167d9337695ee6614 (patch)
tree5a81b55667605b4406860677bc3734beb22b3251
parent993b4aa07e35b612a4f9b6eddecae704b8e01aaa (diff)
downloadsamba-864335ec186e08bca8d9404167d9337695ee6614.tar.gz
samba-864335ec186e08bca8d9404167d9337695ee6614.tar.bz2
samba-864335ec186e08bca8d9404167d9337695ee6614.zip
build: add a check for _ss_family as it used on aix to replace ss_family
-rw-r--r--lib/replace/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 86a4bdb8d8..7b309408b3 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -308,6 +308,8 @@ def configure(conf):
headers='sys/stat.h')
conf.CHECK_STRUCTURE_MEMBER('struct sockaddr_storage', 'ss_family',
headers='sys/socket.h netinet/in.h')
+ conf.CHECK_STRUCTURE_MEMBER('struct sockaddr_storage', '_ss_family',
+ headers='sys/socket.h netinet/in.h')
if conf.CHECK_STRUCTURE_MEMBER('struct sockaddr', 'sa_len',