From b08a82de587afdd561d55580957fec7cbeb2e43f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 3 Dec 2007 16:32:28 +0100 Subject: r26254: Add check for PPC statfs.h to workaround for broken capability.h. Synced from Samba3. Michael (This used to be commit dfdfac2b57ecbca8bddece846f5c2103a518e34d) --- source4/lib/replace/system/capability.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/lib') diff --git a/source4/lib/replace/system/capability.h b/source4/lib/replace/system/capability.h index 4fe7c8d51b..59b5845721 100644 --- a/source4/lib/replace/system/capability.h +++ b/source4/lib/replace/system/capability.h @@ -27,14 +27,16 @@ #ifdef HAVE_SYS_CAPABILITY_H -#if defined(BROKEN_REDHAT_7_SYSTEM_HEADERS) && !defined(_I386_STATFS_H) +#if defined(BROKEN_REDHAT_7_SYSTEM_HEADERS) && !defined(_I386_STATFS_H) && !defined(_PPC_STATFS_H) #define _I386_STATFS_H +#define _PPC_STATFS_H #define BROKEN_REDHAT_7_STATFS_WORKAROUND #endif #include #ifdef BROKEN_REDHAT_7_STATFS_WORKAROUND +#undef _PPC_STATFS_H #undef _I386_STATFS_H #undef BROKEN_REDHAT_7_STATFS_WORKAROUND #endif -- cgit