]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: cache: include tools.h in cache.c
authorWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 11:03:55 +0000 (13:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 11:03:55 +0000 (13:03 +0200)
cache.c uses a lot of functions from tools.h without including it.

src/cache.c

index a95abe5d4f763c76254e0b6e456966d5192bb947..bdb82583f2f9bb96f894f0ffc98e3c3980bd4939 100644 (file)
@@ -32,6 +32,7 @@
 #include <haproxy/shctx.h>
 #include <haproxy/stream.h>
 #include <haproxy/stream_interface.h>
+#include <haproxy/tools.h>
 
 #define CACHE_FLT_F_IMPLICIT_DECL  0x00000001 /* The cache filtre was implicitly declared (ie without
                                               * the filter keyword) */