summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-02-02 10:40:06 +0100
committerStefan Metzmacher <metze@samba.org>2011-02-03 05:26:11 +0100
commit1e42aa6b3a2912426caebaf89596fa7c9f19ba2e (patch)
tree187d43056c44bf9a773980e085aeb824b23aa7ec /lib/replace/wscript
parent5f18925e695d0c271aea456a4ee63aeb1e8bbf96 (diff)
downloadsamba-1e42aa6b3a2912426caebaf89596fa7c9f19ba2e.tar.gz
samba-1e42aa6b3a2912426caebaf89596fa7c9f19ba2e.tar.bz2
samba-1e42aa6b3a2912426caebaf89596fa7c9f19ba2e.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. Systems like ClearOS 5.2 need linux/types.h very early. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 3 05:26:12 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..9fbd3b5ffc 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -37,7 +37,7 @@ def configure(conf):
conf.DEFINE('_OSF_SOURCE', 1, add_to_cflags=True)
conf.DEFINE('_XOPEN_SOURCE', 600, add_to_cflags=True)
- conf.CHECK_HEADERS('crypt.h locale.h acl/libacl.h compat.h')
+ conf.CHECK_HEADERS('linux/types.h 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')