summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-12-28 21:07:28 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-12-28 21:07:28 +0300
commit8492ba945b3573e8b73ed137b089b563d75b2f15 (patch)
tree44faf6d061b84978929231495203dace53ecb96a
parentcbab4939ec3dbb55c382293c834172fcedcec399 (diff)
downloadunit-8492ba945b3573e8b73ed137b089b563d75b2f15.tar.gz
unit-8492ba945b3573e8b73ed137b089b563d75b2f15.tar.bz2
Fixed Go package and PHP module building.0.3
Go package and PHP module could not be built after changeset 5817734dd9b9.
-rw-r--r--src/go/unit/nxt_go_run_ctx.h2
-rw-r--r--src/nxt_php_sapi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/go/unit/nxt_go_run_ctx.h b/src/go/unit/nxt_go_run_ctx.h
index 5c6775ab..42163295 100644
--- a/src/go/unit/nxt_go_run_ctx.h
+++ b/src/go/unit/nxt_go_run_ctx.h
@@ -9,7 +9,7 @@
#include <nxt_main.h>
-#include <nxt_application.h>
+#include <nxt_router.h>
#include <nxt_port_memory_int.h>
#ifndef _NXT_GO_PROCESS_T_DEFINED_
diff --git a/src/nxt_php_sapi.c b/src/nxt_php_sapi.c
index 10b5a4e9..425305a5 100644
--- a/src/nxt_php_sapi.c
+++ b/src/nxt_php_sapi.c
@@ -11,7 +11,7 @@
#include "php_variables.h"
#include <nxt_main.h>
-#include <nxt_application.h>
+#include <nxt_router.h>
static nxt_int_t nxt_php_init(nxt_task_t *task, nxt_common_app_conf_t *conf);