From 484354dcebb91d7d70c58372ceb8e3d3c05b0fa7 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Tue, 20 Jun 2000 17:57:25 +0000 Subject: [PATCH] Fix detection of sigwait prototype for NetBSD. Submitted by: Hubert Feyrer Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85633 13f79535-47bb-0310-9956-ffa450edef68 --- acinclude.m4 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/acinclude.m4 b/acinclude.m4 index 6aa789792e..31f36fc64f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -206,6 +206,13 @@ unsigned long foo = INADDR_NONE; AC_DEFUN(APACHE_CHECK_SIGWAIT_ONE_ARG,[ AC_CACHE_CHECK(whether sigwait takes one argument,ac_cv_sigwait_one_arg,[ AC_TRY_COMPILE([ +#ifdef __NETBSD__ + /* When using the unproven-pthreads package, we need to pull in this + * header to get a prototype for sigwait(). Else things will fail later + * on. XXX Should probably be fixed in the unproven-pthreads package. + */ +#incluide +#endif #include ],[ sigset_t set; -- 2.40.0