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 a95abe5..bdb8258 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) */