From 59be17a29a38b413b6867df7f468b677afb711bc Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 6 Oct 2021 09:14:06 +0200 Subject: [PATCH] BUILD: stats: define several missing structures in stats.h channel, stream_interface, appctx, buffer, proxy and htx ones are used in function arguments and most of them are not defined but were inherited from intermediary inclues. Let's define them here and drop the unneeded includes. --- include/haproxy/stats.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/haproxy/stats.h b/include/haproxy/stats.h index bdb9c076c..8c3aa8d8a 100644 --- a/include/haproxy/stats.h +++ b/include/haproxy/stats.h @@ -24,11 +24,14 @@ #define _HAPROXY_STATS_H #include -#include #include -#include -#include +struct stream_interface; +struct channel; +struct buffer; +struct proxy; +struct appctx; +struct htx; /* These two structs contains all field names and descriptions according to * the the number of entries in "enum stat_field" and "enum info_field"