]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
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 965bf3ed5c7c817f882b3e93ccbdff5dc8ad9f58..9535518a7853721ccb41d8c6aaa13ecf235debb9 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>