diff options
author | Michael Adam <obnox@samba.org> | 2007-11-16 00:45:44 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2007-11-16 00:45:59 +0100 |
commit | 6028176a392e095d8600e3c27704ee454c152b3f (patch) | |
tree | a40bfe446ee3e762f6fd275c56c2af450b1e56e2 /source3/utils/net_sam.c | |
parent | 3f437f681aa130438774cc5f4b8f16d00b43b377 (diff) | |
download | samba-6028176a392e095d8600e3c27704ee454c152b3f.tar.gz samba-6028176a392e095d8600e3c27704ee454c152b3f.tar.bz2 samba-6028176a392e095d8600e3c27704ee454c152b3f.zip |
Fix the build on RHEL5, when libcap-devel is installed.
The /usr/include/sys/capability.h defines _LINUX_TYPES_H
which prevents /usr/include/linux/types.h from being parsed
(when included afterwards). Thus certain types are undefined
that are for instance needed in /usr/include/linux/dqblk_xfs.h.
This breaks the build of lib/sysquotas_xfs.c.
This commit adds a configure check and a workaround for this.
Michael
(This used to be commit 11bcdf780e164659b89a66e24edc27e89da7619a)
Diffstat (limited to 'source3/utils/net_sam.c')
0 files changed, 0 insertions, 0 deletions