summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-04 18:35:05 +0000
committerGerald Carter <jerry@samba.org>2004-03-04 18:35:05 +0000
commit33f0b530cf0a58118567e534ec3a7620ca8a2878 (patch)
tree798c1b28eae88cd85b165d1a9805374691733a1f /source3/include
parent20729772874ebdecbac5810a795200acf912ecf6 (diff)
downloadsamba-33f0b530cf0a58118567e534ec3a7620ca8a2878.tar.gz
samba-33f0b530cf0a58118567e534ec3a7620ca8a2878.tar.bz2
samba-33f0b530cf0a58118567e534ec3a7620ca8a2878.zip
BUG 1015: patch from jmcd to fix statfs redeclaration of statfs struct on ppc
(This used to be commit d9a9e214a8dd3b79284f4cff6052210b758bbf72)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 3ae5d0b201..c5a7b459be 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