diff options
author | Volker Lendecke <vl@samba.org> | 2013-01-07 11:06:15 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2013-01-17 09:09:14 +0100 |
commit | 5bbb6b6a6504ac03c8a8ce38b78f851d0f063129 (patch) | |
tree | e8e5207d40bd2def8ef3745926f504a5cbb0905f | |
parent | acd5be09435339b8bc1f9fda1e9db994839b62c4 (diff) | |
download | samba-5bbb6b6a6504ac03c8a8ce38b78f851d0f063129.tar.gz |
configure: Fix bug 9546, aio_suspend detection on FreeBSD
NULL is not defined without some includes
(cherry picked from commit 653ebe132287ba66ef54675a3b58988994f0a486)
-rw-r--r-- | source3/configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index a29818362c7..0f805ee503e 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -5877,7 +5877,7 @@ int main() { struct aiocb a; return aio_cancel(1, &a); }], AC_MSG_CHECKING(for aio_suspend) AC_LINK_IFELSE([#include <aio.h> -int main() { struct aiocb a; return aio_suspend(&a, 1, NULL); }], +int main() { struct aiocb a; struct timespec t; return aio_suspend(&a, 1, &t); }], [AC_DEFINE(HAVE_AIO_SUSPEND, 1, [Have aio_suspend]) AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)]) fi |