summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-03 16:52:44 +0100
committerMichael Adam <obnox@samba.org>2007-12-03 16:54:13 +0100
commit66887ddfbad5fde60ea7495fad33a5eb77c88b49 (patch)
treea0b2bb552ed9c4b9603d455a86da22fa904407f1
parent684a72c779c4ff4d00905ff560447a8c6ba723e5 (diff)
downloadsamba-66887ddfbad5fde60ea7495fad33a5eb77c88b49.tar.gz
samba-66887ddfbad5fde60ea7495fad33a5eb77c88b49.tar.bz2
samba-66887ddfbad5fde60ea7495fad33a5eb77c88b49.zip
Remove workaround for broken capabilites.h from lib/system.c - now in lib/replace.
Michael (This used to be commit a3fbb5323222334c86c0dc360df8c6a39039bbe6)
-rw-r--r--source3/lib/system.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index 5013cc53e8..00d1e98b39 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -680,24 +680,6 @@ int sys_chroot(const char *dname)
#if defined(HAVE_POSIX_CAPABILITIES)
-#ifdef HAVE_SYS_CAPABILITY_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 <sys/capability.h>
-
-#ifdef BROKEN_REDHAT_7_STATFS_WORKAROUND
-#undef _I386_STATFS_H
-#undef _PPC_STATFS_H
-#undef BROKEN_REDHAT_7_STATFS_WORKAROUND
-#endif
-
-#endif /* HAVE_SYS_CAPABILITY_H */
-
/**************************************************************************
Try and abstract process capabilities (for systems that have them).
****************************************************************************/