diff options
Diffstat (limited to 'source3/wscript')
-rwxr-xr-x | source3/wscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 5fcf86ea18..12529e5e69 100755 --- a/source3/wscript +++ b/source3/wscript @@ -353,6 +353,11 @@ return acl_get_perm_np(permset_d, perm); headers='unistd.h fcntl.h') conf.CHECK_DECLS('readahead', headers='fcntl.h', always=True) + conf.CHECK_CODE('int fd = openat(AT_FDCWD, ".", O_RDONLY);', + 'HAVE_OPENAT', + msg='Checking for openat', + headers='fcntl.h') + if Options.options.with_aio_support: conf.CHECK_FUNCS_IN('aio_read', 'aio') conf.CHECK_FUNCS_IN('aio_read', 'rt') |