summaryrefslogtreecommitdiff
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
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)
-rw-r--r--source3/include/includes.h4
-rw-r--r--source3/lib/replace/system/network.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index b084eed40c..4f11e7a093 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1262,8 +1262,4 @@ void exit_server_fault(void) NORETURN_ATTRIBUTE ;
#include "libnscd.h"
#endif
-#ifndef HAVE_SA_FAMILY_T
-typedef unsigned short int sa_family_t;
-#endif
-
#endif /* _INCLUDES_H */
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