]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mpm_fdqueue: follow up to r1821624.
authorYann Ylavic <ylavic@apache.org>
Fri, 19 Jan 2018 12:40:05 +0000 (12:40 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 19 Jan 2018 12:40:05 +0000 (12:40 +0000)
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

server/mpm_fdqueue.c

index 113fb5602ea18811808431a27f08af1db1551bf7..4164d2d4d1294c8f65795438708efab9a9ad796a 100644 (file)
@@ -16,6 +16,8 @@
 
 #include "mpm_fdqueue.h"
 
+#if APR_HAS_THREADS
+
 #include <apr_atomic.h>
 
 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 */