summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-02-02 10:40:06 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-02-02 11:57:04 +0100
commitc2207e9b2cdec9cd4c32184c668a2c469edb7148 (patch)
tree0102182a361fcfe83fe715ccf636fc8ce3e12427 /lib/replace/wscript
parentda3a2c68b0a789685f051a21579cafa71651618d (diff)
downloadsamba-c2207e9b2cdec9cd4c32184c668a2c469edb7148.tar.gz
samba-c2207e9b2cdec9cd4c32184c668a2c469edb7148.tar.bz2
samba-c2207e9b2cdec9cd4c32184c668a2c469edb7148.zip
replace: Try to fix broken sys/capabilites.h on Linux.
As this is more or less a broken header we need to include linux/types.h before sys/capabilities.h to avoid redefinitions. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Feb 2 11:57:04 CET 2011 on sn-devel-104
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index c6c4fe1fdf..450e474f1a 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -40,7 +40,7 @@ def configure(conf):
conf.CHECK_HEADERS('crypt.h locale.h acl/libacl.h compat.h')
conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h')
conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h')
- conf.CHECK_HEADERS('libaio.h locale.h ndir.h pwd.h')
+ conf.CHECK_HEADERS('libaio.h linux/types.h locale.h ndir.h pwd.h')
conf.CHECK_HEADERS('shadow.h sys/acl.h')
conf.CHECK_HEADERS('sys/attributes.h sys/capability.h sys/dir.h sys/epoll.h')
conf.CHECK_HEADERS('sys/fcntl.h sys/filio.h sys/filsys.h sys/fs/s5param.h sys/fs/vx/quota.h')