1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-27 08:23:49 +03:00

Fix for broken-as-shipped RedHat 7.2 system headers. Now we have

to detect this in configure.
Jeremy.
This commit is contained in:
Jeremy Allison
-
parent ee19f7efb6
commit 44fb1992c9

View File

@@ -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)