]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: hpack: include global.h for the trash that is needed in debug mode
authorWilly Tarreau <w@1wt.eu>
Thu, 19 Jan 2023 23:02:37 +0000 (00:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Jan 2023 23:02:37 +0000 (00:02 +0100)
When building with -DDEBUG_HPACK, the trash is needed, but it's declared
in global.h.

This may be backported to all supported versions.

src/hpack-dec.c

index 6e4a8b74a1fa63d92092582c38037ff402a84295..147021cc36e90a3beb787727aa69ec7a2b106f99 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <import/ist.h>
 #include <haproxy/chunk.h>
+#include <haproxy/global.h>
 #include <haproxy/h2.h>
 #include <haproxy/hpack-dec.h>
 #include <haproxy/hpack-huff.h>