summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-16 22:15:20 +0100
committerGünther Deschner <gd@samba.org>2011-02-16 23:04:35 +0100
commit9e822f103298519db0671a1dced7d8a43cd96f6c (patch)
tree4f3cb562890d6b8fa13084b0c1116772412339e7 /source3/wscript
parentafb77d135e31b7aa5f6dbd10113b0bf43a734986 (diff)
downloadsamba-9e822f103298519db0671a1dced7d8a43cd96f6c.tar.gz
samba-9e822f103298519db0671a1dced7d8a43cd96f6c.tar.bz2
samba-9e822f103298519db0671a1dced7d8a43cd96f6c.zip
s3-waf: add check for struct stat st_flags member.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 16 23:04:35 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 8cf110a0fa..c87fb456ae 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -191,6 +191,8 @@ main() {
headers='sys/stat.h')
conf.CHECK_STRUCTURE_MEMBER('struct stat', 'st_blksize', define='HAVE_STAT_ST_BLKSIZE',
headers='sys/stat.h')
+ conf.CHECK_STRUCTURE_MEMBER('struct stat', 'st_flags', define='HAVE_STAT_ST_FLAGS',
+ headers='sys/types.h sys/stat.h unistd.h')
# Check for POSIX capability support
conf.CHECK_FUNCS_IN('cap_get_proc', 'cap', headers='sys/capability.h')