summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-02 20:04:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:06 -0500
commitc7da0dced68ec12a689effcc9c7351b46a815831 (patch)
treed8a27015762ebbfc78f16970e60d4c9ca9c47d6a /source3/lib
parent31adfe3446c2e50c70a4710e33ec2877e5ab227d (diff)
downloadsamba-c7da0dced68ec12a689effcc9c7351b46a815831.tar.gz
samba-c7da0dced68ec12a689effcc9c7351b46a815831.tar.bz2
samba-c7da0dced68ec12a689effcc9c7351b46a815831.zip
r25474: Try and fix the build on Mac OS X 10.4.9.
Shuffle sa_family_t around. Jeremy. (This used to be commit f1b8c5de0ae96e04e340029f5cd544de9ac57b32)
Diffstat (limited to 'source3/lib')
-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 70c3ec711c..1b442dd602 100644
--- a/source3/lib/replace/system/network.h
+++ b/source3/lib/replace/system/network.h
@@ -118,4 +118,8 @@ char *rep_inet_ntoa(struct in_addr ip);
#define INET6_ADDRSTRLEN 46
#endif
+#ifndef HAVE_SA_FAMILY_T
+typedef unsigned short int sa_family_t;
+#endif
+
#endif