]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: queue: include tools.h from queue.c
authorWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 11:59:05 +0000 (13:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 11:59:05 +0000 (13:59 +0200)
It uses memprintf() without including the file because it inherited
it from other ones.

src/queue.c

index f79fe5487dc54c81e85feb47bb361ca4208bfc30..1fadd10081341e381df830be080f1b4df9e39ea2 100644 (file)
@@ -83,6 +83,7 @@ s *     queue's lock.
 #include <haproxy/tcp_rules.h>
 #include <haproxy/thread.h>
 #include <haproxy/time.h>
+#include <haproxy/tools.h>
 
 
 #define NOW_OFFSET_BOUNDARY()          ((now_ms - (TIMER_LOOK_BACK >> 12)) & 0xfffff)