summaryrefslogtreecommitdiff
path: root/source3/lib/replace/system
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-25 18:37:42 +0100
committerVolker Lendecke <vl@samba.org>2007-12-25 18:37:42 +0100
commit8b88fa53b5f1f344b30b3409acf765ee46005396 (patch)
treed01bc9269821685e99852beb007e911c6fd5816a /source3/lib/replace/system
parentfae533d359854e11c2335bc4b9261132dca423be (diff)
downloadsamba-8b88fa53b5f1f344b30b3409acf765ee46005396.tar.gz
samba-8b88fa53b5f1f344b30b3409acf765ee46005396.tar.bz2
samba-8b88fa53b5f1f344b30b3409acf765ee46005396.zip
Host SerNet-AIX has __ss_family instead of ss_family in sockaddr_storage
(This used to be commit e33286f4a68352e55df081d06307f64f190773b3)
Diffstat (limited to 'source3/lib/replace/system')
-rw-r--r--source3/lib/replace/system/network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/replace/system/network.h b/source3/lib/replace/system/network.h
index 9087c02da1..b6ae3c7c6f 100644
--- a/source3/lib/replace/system/network.h
+++ b/source3/lib/replace/system/network.h
@@ -233,6 +233,10 @@ typedef unsigned short int sa_family_t;
#endif
#endif
+#ifdef HAVE_AIX_SOCKADDR_STORAGE
+#define ss_family __ss_family
+#endif
+
#ifndef HAVE_STRUCT_ADDRINFO
#define HAVE_STRUCT_ADDRINFO
struct addrinfo {