BUILD: peers: peers-t.h depends on stick-table-t.h
authorWilliam Lallemand <wlallemand@haproxy.org>
Fri, 16 Dec 2022 14:40:31 +0000 (15:40 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 16 Dec 2022 14:51:44 +0000 (15:51 +0100)
peers-t.h uses "struct stktable" as well as STKTABLE_DATA_TYPES which
are defined in stick-table-t.h. It works by accident because
stick-table-t.h was always included before. But could provoke build
issue with EXTRA code.

To be backported as far as 2.2.

include/haproxy/peers-t.h

index 965bf3e..9535518 100644 (file)
@@ -31,6 +31,7 @@
 
 #include <haproxy/api-t.h>
 #include <haproxy/dict-t.h>
+#include <haproxy/stick_table-t.h>
 #include <haproxy/thread-t.h>