summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
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