summaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_config_file.h2
-rw-r--r--src/core/ngx_hunk.c1
-rw-r--r--src/core/ngx_modules.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/src/core/ngx_config_file.h b/src/core/ngx_config_file.h
index 768dc666b..97a4d2a33 100644
--- a/src/core/ngx_config_file.h
+++ b/src/core/ngx_config_file.h
@@ -26,6 +26,8 @@
#define NGX_CONF_FILE_DONE 2
+#define NGX_CONF_ERROR (char *) -1
+
typedef struct ngx_conf_s ngx_conf_t;
diff --git a/src/core/ngx_hunk.c b/src/core/ngx_hunk.c
index 1f05dc839..e1e960fd3 100644
--- a/src/core/ngx_hunk.c
+++ b/src/core/ngx_hunk.c
@@ -1,4 +1,5 @@
+#include <ngx_config.h>
#include <ngx_hunk.h>
diff --git a/src/core/ngx_modules.c b/src/core/ngx_modules.c
index 4d43349f3..ad9372baa 100644
--- a/src/core/ngx_modules.c
+++ b/src/core/ngx_modules.c
@@ -1,4 +1,6 @@
+#include <ngx_config.h>
+
#include <ngx_config_file.h>