]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: sink: include tools.h in sink.c
authorWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 11:05:30 +0000 (13:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 11:05:30 +0000 (13:05 +0200)
Several functions from tools.h are used in sink.c without tools.h being
included.

src/sink.c

index 159c2363ed4f70e7d4a5dd1d7be2b58fa7d4f879..78091aa58f594ff224e6bdd06c64298c39e2144e 100644 (file)
@@ -30,6 +30,7 @@
 #include <haproxy/sink.h>
 #include <haproxy/stream_interface.h>
 #include <haproxy/time.h>
+#include <haproxy/tools.h>
 
 struct list sink_list = LIST_HEAD_INIT(sink_list);