summaryrefslogtreecommitdiff
path: root/include/arch/unix/global_mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/unix/global_mutex.h')
-rw-r--r--include/arch/unix/global_mutex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/arch/unix/global_mutex.h b/include/arch/unix/global_mutex.h
index e1a79bd5d..dfafcb1fd 100644
--- a/include/arch/unix/global_mutex.h
+++ b/include/arch/unix/global_mutex.h
@@ -66,7 +66,9 @@
struct apr_global_mutex_t {
apr_pool_t *pool;
apr_proc_mutex_t *proc_mutex;
+#if APR_HAS_THREADS
apr_thread_mutex_t *thread_mutex;
+#endif /* APR_HAS_THREADS */
};
#endif /* GLOBAL_MUTEX_H */