diff options
author | Jeremy Allison <jra@samba.org> | 2001-11-04 20:50:30 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-11-04 20:50:30 +0000 |
commit | db8ff475aca6eaed303300de24d187b9476b7c7b (patch) | |
tree | a962ab22adbda129d6a208754292b09095dabf83 | |
parent | 740d6f5dd60bef72037ed5fcd7b2192af22c2e41 (diff) | |
download | samba-db8ff475aca6eaed303300de24d187b9476b7c7b.tar.gz samba-db8ff475aca6eaed303300de24d187b9476b7c7b.tar.bz2 samba-db8ff475aca6eaed303300de24d187b9476b7c7b.zip |
Fix for broken-as-shipped RedHat 7.2 system headers. Now we have
to detect this in configure.
Jeremy.
(This used to be commit 44fb1992c98e7cca5663b17ea9a4833fcf0a8478)
-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) |