Try and fix the build on Mac OS X 10.4.9.
authorjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Tue, 2 Oct 2007 20:04:14 +0000 (20:04 +0000)
committerjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Tue, 2 Oct 2007 20:04:14 +0000 (20:04 +0000)
Shuffle sa_family_t around.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25474 0c0555d6-39d7-0310-84fc-f1cc0bd64818

source/include/includes.h
source/lib/replace/system/network.h

index b084eed..4f11e7a 100644 (file)
@@ -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 */
index 70c3ec7..1b442dd 100644 (file)
@@ -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