From 584402a71a4dd4bc821a58087814a1f3c110bb65 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 7 Jan 2013 12:53:27 -0800 Subject: configure: Fix bug 9546, aio_suspend detection on FreeBSD NULL is not defined without some includes Reviewed by: Jeremy Allison --- source3/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 359113143b..0fa58590f5 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -5386,7 +5386,7 @@ int main() { struct aiocb a; return aio_cancel(1, &a); }])], AC_MSG_CHECKING(for aio_suspend) AC_LINK_IFELSE([AC_LANG_SOURCE([#include -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)]) else -- cgit