diff options
author | Ryan Bloom <rbb@apache.org> | 2000-06-20 17:57:25 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-06-20 17:57:25 +0000 |
commit | 484354dcebb91d7d70c58372ceb8e3d3c05b0fa7 (patch) | |
tree | 1e2a60b7d341908ab8fe6462ecf5860df203b428 /acinclude.m4 | |
parent | eb3c5ca7aab0a8daa37109ac4ffa91c127a72ccb (diff) | |
download | httpd-484354dcebb91d7d70c58372ceb8e3d3c05b0fa7.tar.gz |
Fix detection of sigwait prototype for NetBSD.
Submitted by: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
Reviewed by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85633 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 7 |
1 files changed, 7 insertions, 0 deletions
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 <pthread.h> +#endif #include <signal.h> ],[ sigset_t set; |