BUILD: proxy: add missing compression-t.h to proxy-t.h
authorWilly Tarreau <w@1wt.eu>
Fri, 12 Feb 2021 07:46:01 +0000 (08:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Feb 2021 15:23:46 +0000 (16:23 +0100)
struct comp is used in struct proxy but never declared prior to this
so depending on where proxy.h is included, touching the <comp> field
can break the build.

include/haproxy/proxy-t.h

index bafe940..2470284 100644 (file)
@@ -33,6 +33,7 @@
 #include <haproxy/api-t.h>
 #include <haproxy/arg-t.h>
 #include <haproxy/backend-t.h>
+#include <haproxy/compression-t.h>
 #include <haproxy/counters-t.h>
 #include <haproxy/freq_ctr-t.h>
 #include <haproxy/obj_type-t.h>