summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_core.h')
-rw-r--r--src/core/ngx_core.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h
index acb7fa430..76003fb37 100644
--- a/src/core/ngx_core.h
+++ b/src/core/ngx_core.h
@@ -6,6 +6,11 @@
#include <ngx_time.h>
#include <ngx_socket.h>
#include <ngx_files.h>
+#include <ngx_errno.h>
+#include <ngx_process.h>
+
+typedef struct ngx_connection_s ngx_connection_t;
+typedef struct ngx_event_s ngx_event_t;
#include <ngx_log.h>
#include <ngx_alloc.h>
@@ -14,8 +19,8 @@
#include <ngx_string.h>
#include <ngx_file.h>
#include <ngx_conf_file.h>
-#include <ngx_connection.h>
#include <ngx_os_init.h>
+#include <ngx_connection.h>
@@ -38,4 +43,8 @@
*/
+/* STUB */
+extern ngx_log_t ngx_log;
+
+
#endif /* _NGX_CORE_H_INCLUDED_ */