From: Yann Ylavic Date: Fri, 19 Jan 2018 12:40:05 +0000 (+0000) Subject: mpm_fdqueue: follow up to r1821624. X-Git-Tag: 2.5.0-alpha2-ci-test-only~2938 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6c430a37c1f72d2b145c3f1c031577ce8724867;p=thirdparty%2Fapache%2Fhttpd.git mpm_fdqueue: follow up to r1821624. The implemention wants APR_HAS_THREADS too. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821644 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm_fdqueue.c b/server/mpm_fdqueue.c index 113fb5602ea..4164d2d4d12 100644 --- a/server/mpm_fdqueue.c +++ b/server/mpm_fdqueue.c @@ -16,6 +16,8 @@ #include "mpm_fdqueue.h" +#if APR_HAS_THREADS + #include static const apr_uint32_t zero_pt = APR_UINT32_MAX/2; @@ -535,3 +537,5 @@ apr_status_t ap_queue_term(fd_queue_t *queue) { return queue_interrupt(queue, 1, 1); } + +#endif /* APR_HAS_THREADS */