aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index 1472090e5..b527954e6 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -186,7 +186,7 @@ struct ngx_connection_s {
unsigned busy_count:2;
#endif
-#if (NGX_THREADS)
+#if (NGX_THREADS || NGX_COMPAT)
ngx_thread_task_t *sendfile_task;
#endif
};