]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: quic: fix includes for compilation
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 7 Oct 2021 14:44:05 +0000 (16:44 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 8 Oct 2021 13:59:02 +0000 (15:59 +0200)
Fix missing includes in quic code following the general recent include
reorganization. This fixes the compilation error with QUIC enabled.

include/haproxy/xprt_quic.h
src/mux_quic.c
src/quic_sock.c
src/xprt_quic.c

index bd20d46f280696638e02ba29f16bacc41ba89c33..2050b79b41f344756317e90247271abfe385f630 100644 (file)
@@ -28,6 +28,8 @@
 
 #include <stdint.h>
 
+#include <import/eb64tree.h>
+
 #include <haproxy/buf.h>
 #include <haproxy/chunk.h>
 #include <haproxy/net_helper.h>
index f16f37a9771725282aed7cb783456d715e9031de..c89490f67e53351a7e8d3978eaca06ca6f94e5ec 100644 (file)
@@ -10,7 +10,8 @@
  *
  */
 
-#include <import/eb32tree.h>
+#include <import/eb64tree.h>
+
 #include <haproxy/api.h>
 #include <haproxy/cfgparse.h>
 #include <haproxy/connection.h>
@@ -21,6 +22,7 @@
 #include <haproxy/net_helper.h>
 #include <haproxy/quic_frame.h>
 #include <haproxy/session-t.h>
+#include <haproxy/ssl_sock-t.h>
 #include <haproxy/stats.h>
 #include <haproxy/stream.h>
 #include <haproxy/stream_interface.h>
index 761c2a4e8e03844f7693915a6072e0255c2e498b..ffd4504888f7b605fb0a0060775d1431673fe5ca 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <haproxy/connection.h>
 #include <haproxy/listener.h>
+#include <haproxy/session.h>
 #include <haproxy/xprt_quic.h>
 
 /* This function is called from the protocol layer accept() in order to
index 3fd46328483b21ac4421862d48d1777c6918651e..455c83bc408a86728f5d0aceece90e9d919e7044 100644 (file)
@@ -22,6 +22,8 @@
 
 #include <netinet/tcp.h>
 
+#include <import/ebmbtree.h>
+
 #include <haproxy/buf-t.h>
 #include <haproxy/compat.h>
 #include <haproxy/api.h>