diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/includes.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 7362aace9b..89ab1b50a4 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -327,7 +327,19 @@ #endif #ifdef HAVE_SYS_CAPABILITY_H + +#if defined(BROKEN_REDHAT_7_SYSTEM_HEADERS) && !defined(_I386_STATFS_H) +#define _I386_STATFS_H +#define BROKEN_REDHAT_7_STATFS_WORKAROUND +#endif + #include <sys/capability.h> + +#ifdef BROKEN_REDHAT_7_STATFS_WORKAROUND +#undef _I386_STATFS_H +#undef BROKEN_REDHAT_7_STATFS_WORKAROUND +#endif + #endif #if defined(HAVE_RPC_RPC_H) |