summaryrefslogtreecommitdiffstats
path: root/source/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
commitf1b8c5de0ae96e04e340029f5cd544de9ac57b32 (patch)
tree8abbe902c0d7054a30c12db5cf3edbf6692b73f1 /source/lib
parent2a8f3dd55074eeb3d96a1b478981780651bbe88b (diff)
downloadsamba-f1b8c5de0ae96e04e340029f5cd544de9ac57b32.tar.gz
samba-f1b8c5de0ae96e04e340029f5cd544de9ac57b32.tar.xz
samba-f1b8c5de0ae96e04e340029f5cd544de9ac57b32.zip
r25474: Try and fix the build on Mac OS X 10.4.9.
Shuffle sa_family_t around. Jeremy.
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/replace/system/network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/lib/replace/system/network.h b/source/lib/replace/system/network.h
index 70c3ec711c6..1b442dd602d 100644
--- a/source/lib/replace/system/network.h
+++ b/source/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