summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-05-30 21:44:14 +0200
committerBjörn Jacke <bj@sernet.de>2010-05-30 21:46:35 +0200
commit6a78241f4a9aae84e91ea2e49f066f2e5203beba (patch)
treeb7d51bb4ba64f4fc16cc2ef8156bcf0da13257c4 /lib/replace/wscript
parent3030d9db4ea7ddecc2e8bbef225738e0336e9be4 (diff)
downloadsamba-6a78241f4a9aae84e91ea2e49f066f2e5203beba.tar.gz
samba-6a78241f4a9aae84e91ea2e49f066f2e5203beba.tar.bz2
samba-6a78241f4a9aae84e91ea2e49f066f2e5203beba.zip
libreplace: include sys/file.h only when available
thanks to Joachim Schmitz <schmitz@hp.com>. This fixes #7460.
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 4bafcadbd4..57739124e9 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -42,7 +42,7 @@ def configure(conf):
conf.CHECK_HEADERS('sys/fcntl.h sys/filio.h sys/filsys.h sys/fs/s5param.h sys/fs/vx/quota.h')
conf.CHECK_HEADERS('sys/id.h sys/ioctl.h sys/ipc.h sys/mman.h sys/mode.h sys/ndir.h sys/priv.h')
conf.CHECK_HEADERS('sys/resource.h sys/security.h sys/shm.h sys/statfs.h sys/statvfs.h sys/termio.h')
- conf.CHECK_HEADERS('sys/vfs.h sys/xattr.h termio.h termios.h')
+ conf.CHECK_HEADERS('sys/vfs.h sys/xattr.h termio.h termios.h sys/file.h')
conf.CHECK_HEADERS('sys/wait.h sys/stat.h malloc.h grp.h')
conf.CHECK_HEADERS('sys/select.h setjmp.h utime.h sys/syslog.h syslog.h')
conf.CHECK_HEADERS('stdarg.h vararg.h sys/mount.h mntent.h')