From c7da0dced68ec12a689effcc9c7351b46a815831 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 2 Oct 2007 20:04:14 +0000 Subject: 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) --- source3/include/includes.h | 4 ---- source3/lib/replace/system/network.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source3') 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 -- cgit