summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-03 22:01:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:10 -0500
commit30e4012396b1f73a4ba03034b546af7daed9c87b (patch)
treec1c1910a45f980420c07913d9c330a4d149649f9 /source3/lib
parent33c0cebd75a3b94f551587b5fc2d067b7b887211 (diff)
downloadsamba-30e4012396b1f73a4ba03034b546af7daed9c87b.tar.gz
samba-30e4012396b1f73a4ba03034b546af7daed9c87b.tar.bz2
samba-30e4012396b1f73a4ba03034b546af7daed9c87b.zip
r25495: Fixup definitions for missing sockaddr_storage.
Jeremy. (This used to be commit d980ee5040f2ab9e7408218d13962dd64e2b33b1)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/replace/system/network.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/replace/system/network.h b/source3/lib/replace/system/network.h
index fc21a3e99a..d5d2be068e 100644
--- a/source3/lib/replace/system/network.h
+++ b/source3/lib/replace/system/network.h
@@ -127,7 +127,8 @@ typedef unsigned short int sa_family_t;
#endif
#ifndef HAVE_SOCKADDR_STORAGE
-#define sockaddr_storage sockaddr
+#define sockaddr_storage sockaddr_in
+#define ss_family sin_family
#endif
#endif