diff options
author | Michael Adam <obnox@samba.org> | 2014-06-14 00:55:02 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-06-16 18:18:04 +0200 |
commit | 0e9d4f68f94be4d187eb80429194267244861832 (patch) | |
tree | 763e8446e6c62bdfeb5ba2a40bd32a1ae817434d /source3/wscript | |
parent | 4106cf2eb969da179720067c86728441442cde59 (diff) | |
download | samba-0e9d4f68f94be4d187eb80429194267244861832.tar.gz samba-0e9d4f68f94be4d187eb80429194267244861832.tar.xz samba-0e9d4f68f94be4d187eb80429194267244861832.zip |
build: fix the test and define for msg_accrights
It must be "msg_accrights" not "msg_acctrights" ...
^
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Mon Jun 16 18:18:04 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/wscript b/source3/wscript index 819ea9bb66..6e76c86ac3 100644 --- a/source3/wscript +++ b/source3/wscript @@ -561,11 +561,11 @@ msg.msg_controllen = sizeof(control_un.control); conf.CHECK_CODE(''' struct msghdr msg; int fd; -msg.msg_acctrights = (caddr_t) &fd; -msg.msg_acctrightslen = sizeof(fd); +msg.msg_accrights = (caddr_t) &fd; +msg.msg_accrightslen = sizeof(fd); ''', - 'HAVE_STRUCT_MSGHDR_MSG_ACCTRIGHTS', - msg='Checking if we can use msg_acctrights for passing file descriptors', + 'HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS', + msg='Checking if we can use msg_accrights for passing file descriptors', headers='sys/types.h stdlib.h stddef.h sys/socket.h sys/un.h') if Options.options.with_winbind: @@ -1854,7 +1854,7 @@ main() { if conf.CONFIG_SET('HAVE_STATFS_F_FSID'): default_shared_modules.extend(TO_LIST('vfs_fileid')) - if (conf.CONFIG_SET('HAVE_STRUCT_MSGHDR_MSG_CONTROL') or conf.CONFIG_SET('HAVE_STRUCT_MSGHDR_MSG_ACCTRIGHTS')): + if (conf.CONFIG_SET('HAVE_STRUCT_MSGHDR_MSG_CONTROL') or conf.CONFIG_SET('HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS')): default_shared_modules.extend(TO_LIST('vfs_aio_fork')) if Options.options.with_pthreadpool: |