aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2002-12-27 07:27:47 +0000
committerIgor Sysoev <igor@sysoev.ru>2002-12-27 07:27:47 +0000
commit6b5c0f70d7cdcc8ac9e63989efcf6911aaf9ab05 (patch)
treeeafd8558e79c67ea1045e9a0bed78f6ba2f92fa8 /src/core
parent207ed5a589055899a5841d1a9f3074fc4ff407c5 (diff)
downloadnginx-6b5c0f70d7cdcc8ac9e63989efcf6911aaf9ab05.tar.gz
nginx-6b5c0f70d7cdcc8ac9e63989efcf6911aaf9ab05.zip
nginx-0.0.1-2002-12-27-10:27:47 import
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>