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 bd20d46..2050b79 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 f16f37a..c89490f 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 761c2a4..ffd4504 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 3fd4632..455c83b 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>