BUILD: hpack: include global.h for the trash that is needed in debug mode

When building with -DDEBUG_HPACK, the trash is needed, but it's declared
in global.h.

This may be backported to all supported versions.

(cherry picked from commit 7d84439b48)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 57724cab01d54f50f0b97c86aa604df033b39fec)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
This commit is contained in:
Willy Tarreau 2023-01-20 00:02:37 +01:00 committed by Christopher Faulet
parent 8672494bb6
commit 115dbf374c

View 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>