summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_main.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-02-22 15:10:28 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-02-22 15:10:28 +0300
commitb379dae85e6edcb4af1ac665ab66d99e63bf34f4 (patch)
tree84b1d69d355e4722ebee02748e512306913a92d7 /src/nxt_main.h
parent029942f4eb7196c2cff0d0e26bc6ff274138f7d8 (diff)
downloadunit-b379dae85e6edcb4af1ac665ab66d99e63bf34f4.tar.gz
unit-b379dae85e6edcb4af1ac665ab66d99e63bf34f4.tar.bz2
Port changes.
Diffstat (limited to 'src/nxt_main.h')
-rw-r--r--src/nxt_main.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nxt_main.h b/src/nxt_main.h
index b692dc92..1388a2f3 100644
--- a/src/nxt_main.h
+++ b/src/nxt_main.h
@@ -121,7 +121,8 @@ nxt_thread_extern_data(nxt_thread_t, nxt_thread_context);
#include <nxt_fd_event.h>
-#include <nxt_port_socket.h>
+typedef struct nxt_cycle_s nxt_cycle_t;
+#include <nxt_port.h>
#if (NXT_THREADS)
#include <nxt_thread_pool.h>
#endif
@@ -153,6 +154,7 @@ typedef struct nxt_upstream_source_s nxt_upstream_source_t;
#include <nxt_http_parse.h>
#include <nxt_http_source.h>
#include <nxt_fastcgi_source.h>
+#include <nxt_cycle.h>
#if (NXT_LIB_UNIT_TEST)