diff options
Diffstat (limited to 'build/apr_hints.m4')
-rw-r--r-- | build/apr_hints.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/apr_hints.m4 b/build/apr_hints.m4 index 5aa03c952..edd5f9770 100644 --- a/build/apr_hints.m4 +++ b/build/apr_hints.m4 @@ -131,6 +131,9 @@ dnl # Not a problem in 10.20. Otherwise, who knows? ;; *-openbsd*) APR_ADDTO(CPPFLAGS, [-D_POSIX_THREADS]) + # binding to an ephemeral port fails on OpenBSD so override + # the test for O_NONBLOCK inheritance across accept(). + APR_SETIFNULL(ac_cv_o_nonblock_inherited, [yes]) ;; *-netbsd*) APR_ADDTO(CPPFLAGS, [-DNETBSD]) |