summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_compress_gzip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_http_compress_gzip.h')
-rw-r--r--src/nxt_http_compress_gzip.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nxt_http_compress_gzip.h b/src/nxt_http_compress_gzip.h
index 15facc69..e0c2dee2 100644
--- a/src/nxt_http_compress_gzip.h
+++ b/src/nxt_http_compress_gzip.h
@@ -7,6 +7,8 @@
#define NXT_HTTP_COMPRESS_GZIP_H_INCLUDED_
+#include "nxt_auto_config.h"
+
#include "nxt_router.h"
#include "nxt_http.h"
@@ -14,6 +16,13 @@
#include "nxt_types.h"
+#if defined(NXT_HAVE_ZLIB)
+#define NXT_WITH_ZLIB 1
+#else
+#define NXT_WITH_ZLIB 0
+#endif
+
+
nxt_int_t nxt_http_compress_gzip(nxt_task_t *task, nxt_http_request_t *r,
nxt_http_compress_conf_t *conf);