aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_cache.h')
-rw-r--r--src/http/ngx_http_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h
index 9c9ff6f65..70342d0ed 100644
--- a/src/http/ngx_http_cache.h
+++ b/src/http/ngx_http_cache.h
@@ -93,7 +93,7 @@ struct ngx_http_cache_s {
ngx_http_file_cache_t *file_cache;
ngx_http_file_cache_node_t *node;
-#if (NGX_THREADS)
+#if (NGX_THREADS || NGX_COMPAT)
ngx_thread_task_t *thread_task;
#endif