aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_index_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/modules/ngx_http_index_handler.h')
-rw-r--r--src/http/modules/ngx_http_index_handler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_index_handler.h b/src/http/modules/ngx_http_index_handler.h
index 66261b0bc..3dd6bd82c 100644
--- a/src/http/modules/ngx_http_index_handler.h
+++ b/src/http/modules/ngx_http_index_handler.h
@@ -9,13 +9,14 @@
#define NGX_HTTP_INDEX "index.html"
+
typedef struct {
ngx_array_t *indices;
size_t max_index_len;
} ngx_http_index_conf_t;
-extern ngx_http_module_t ngx_http_index_module;
+extern ngx_module_t ngx_http_index_module;
#endif /* _NGX_HTTP_INDEX_HANDLER_H_INCLUDED_ */