From 9b882ce3e5d3c12e68134a1e2d01abb5849a2902 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 4 Mar 2004 18:34:45 +0000 Subject: BUG 1015: patch from jmcd to fix statfs redeclaration of statfs struct on ppc (This used to be commit fafb243278cd33d696487e477d4685bb79e2e357) --- source3/include/includes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source3/include/includes.h b/source3/include/includes.h index 418eb2daa6..9487accc0d 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -338,8 +338,9 @@ #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 @@ -347,6 +348,7 @@ #ifdef BROKEN_REDHAT_7_STATFS_WORKAROUND #undef _I386_STATFS_H +#undef _PPC_STATFS_H #undef BROKEN_REDHAT_7_STATFS_WORKAROUND #endif -- cgit