aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/ngx_core.h2
-rw-r--r--src/event/ngx_event_quic.c2
-rw-r--r--src/event/ngx_event_quic_protection.c2
-rw-r--r--src/event/ngx_event_quic_transport.c1
4 files changed, 5 insertions, 2 deletions
diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h
index a8959ddcc..ade35be73 100644
--- a/src/core/ngx_core.h
+++ b/src/core/ngx_core.h
@@ -86,8 +86,6 @@ typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c);
#include <ngx_event_openssl.h>
#if (NGX_OPENSSL_QUIC)
#include <ngx_event_quic.h>
-#include <ngx_event_quic_transport.h>
-#include <ngx_event_quic_protection.h>
#endif
#endif
#include <ngx_process_cycle.h>
diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c
index 202c0082a..9a8c94243 100644
--- a/src/event/ngx_event_quic.c
+++ b/src/event/ngx_event_quic.c
@@ -7,6 +7,8 @@
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
+#include <ngx_event_quic_transport.h>
+#include <ngx_event_quic_protection.h>
/* 0-RTT and 1-RTT data exist in the same packet number space,
diff --git a/src/event/ngx_event_quic_protection.c b/src/event/ngx_event_quic_protection.c
index feba3eb3a..721944b97 100644
--- a/src/event/ngx_event_quic_protection.c
+++ b/src/event/ngx_event_quic_protection.c
@@ -7,6 +7,8 @@
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
+#include <ngx_event_quic_transport.h>
+#include <ngx_event_quic_protection.h>
#define NGX_QUIC_IV_LEN 12
diff --git a/src/event/ngx_event_quic_transport.c b/src/event/ngx_event_quic_transport.c
index bba9ae9cb..f1fc09449 100644
--- a/src/event/ngx_event_quic_transport.c
+++ b/src/event/ngx_event_quic_transport.c
@@ -7,6 +7,7 @@
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
+#include <ngx_event_quic_transport.h>
#if (NGX_HAVE_NONALIGNED)