Align h3_inc_err_cnt() prototype with its definition. To ensure future
similar issues are caught, include the header in its corresponding
source file.
This may be backported up to 2.6.
struct h3_counters;
-void h3_inc_err_cnt(void *ctx, int error_code);
+void h3_inc_err_cnt(struct h3_counters *ctrs, int error_code);
void h3_inc_frame_type_cnt(struct h3_counters *ctrs, int frm_type);
#endif /* USE_QUIC */
+#include <haproxy/h3_stats.h>
+
#include <haproxy/h3.h>
#include <haproxy/qpack-t.h>
#include <haproxy/stats.h>