diff options
author | Michael Adam <obnox@samba.org> | 2007-12-03 16:42:08 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2007-12-03 16:54:12 +0100 |
commit | fc0a63153fec7d56e35f484b80891d1a7e66e35a (patch) | |
tree | db801adc7a1221df6929467ca881aa0e93e619f4 | |
parent | 41418ed682f0b407a6b8d1f04ae87e60f36a2feb (diff) | |
download | samba-fc0a63153fec7d56e35f484b80891d1a7e66e35a.tar.gz samba-fc0a63153fec7d56e35f484b80891d1a7e66e35a.tar.bz2 samba-fc0a63153fec7d56e35f484b80891d1a7e66e35a.zip |
Add check for ppc statfs.h header to workaround for broken capabilities.h.
Taken from s3:lib/system.c
Michael
(This used to be commit 07e6cfdc626c2778292e5b0b338a35046c482cf9)
-rw-r--r-- | source3/lib/replace/system/capability.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lib/replace/system/capability.h b/source3/lib/replace/system/capability.h index b3142371f9..a7b78f0275 100644 --- a/source3/lib/replace/system/capability.h +++ b/source3/lib/replace/system/capability.h @@ -27,8 +27,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 @@ -44,6 +45,7 @@ #endif #ifdef BROKEN_REDHAT_7_STATFS_WORKAROUND +#undef _PPC_STATFS_H #undef _I386_STATFS_H #undef BROKEN_REDHAT_7_STATFS_WORKAROUND #endif |