mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
vfs_snapper: check for <linux/ioctl.h>
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Sun Nov 9 16:02:24 CET 2014 on sn-devel-104
This commit is contained in:
parent
d840f11386
commit
5f68f7289c
@ -25,7 +25,9 @@
|
||||
*/
|
||||
|
||||
#include <dbus/dbus.h>
|
||||
#ifdef HAVE_LINUX_IOCTL_H
|
||||
#include <linux/ioctl.h>
|
||||
#endif
|
||||
#include <sys/ioctl.h>
|
||||
#include <dirent.h>
|
||||
#include <libgen.h>
|
||||
|
@ -77,7 +77,7 @@ def configure(conf):
|
||||
conf.ADD_LDFLAGS("-Wl,--export-dynamic", testflags=True)
|
||||
|
||||
conf.CHECK_HEADERS('execinfo.h libexc.h libunwind.h netdb.h')
|
||||
conf.CHECK_HEADERS('linux/falloc.h')
|
||||
conf.CHECK_HEADERS('linux/falloc.h linux/ioctl.h')
|
||||
|
||||
conf.CHECK_FUNCS('getcwd fchown chmod fchmod mknod')
|
||||
conf.CHECK_FUNCS('strtol strchr strupr chflags')
|
||||
|
Loading…
Reference in New Issue
Block a user