BUILD: idleconns: include missing ebmbtree.h at several places
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 16:23:40 +0000 (18:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:36:51 +0000 (01:36 +0200)
backend.c, all muxes, backend.c started manipulating ebmb_nodes with
the introduction of idle conns but the types were inherited through
other includes. Let's add ebmbtree.h there.

src/backend.c
src/hlua_fcn.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c

index 7143ba6..43642a3 100644 (file)
@@ -19,6 +19,8 @@
 #include <ctype.h>
 #include <sys/types.h>
 
+#include <import/ebmbtree.h>
+
 #include <haproxy/acl.h>
 #include <haproxy/api.h>
 #include <haproxy/arg.h>
index 56923f0..42fb920 100644 (file)
@@ -21,6 +21,8 @@
 #include <lua.h>
 #include <lualib.h>
 
+#include <import/ebmbtree.h>
+
 #include <haproxy/cli-t.h>
 #include <haproxy/errors.h>
 #include <haproxy/hlua-t.h>
index 5fb1c5e..0b29fa0 100644 (file)
@@ -11,6 +11,8 @@
  */
 
 #include <import/ist.h>
+#include <import/eb32tree.h>
+#include <import/ebmbtree.h>
 
 #include <haproxy/api.h>
 #include <haproxy/cfgparse.h>
index 5dfd26c..3e2e094 100644 (file)
@@ -10,6 +10,7 @@
  *
  */
 #include <import/ebistree.h>
+#include <import/ebmbtree.h>
 
 #include <haproxy/api.h>
 #include <haproxy/cfgparse.h>
index ffdafc8..ce56058 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <import/eb32tree.h>
+#include <import/ebmbtree.h>
 #include <haproxy/api.h>
 #include <haproxy/cfgparse.h>
 #include <haproxy/connection.h>