From 68b1753b018d8b2d55d33ee6faf20ab5bd0151e9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 7 Jan 2013 11:06:15 +0100 Subject: [PATCH] configure: Fix bug 9546, aio_suspend detection on FreeBSD NULL is not defined without some includes --- source3/configure.in | 2 +- 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/source3/configure.in b/source3/configure.in index a298183..0f805ee 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 -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 -- 1.7.11.5