From: Ryan Bloom Date: Tue, 20 Jun 2000 17:57:25 +0000 (+0000) Subject: Fix detection of sigwait prototype for NetBSD. X-Git-Tag: APACHE_2_0_ALPHA_5~287 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=484354dcebb91d7d70c58372ceb8e3d3c05b0fa7;p=apache 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 --- 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;