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

src/connection.c

index 67b212452a46e9783fcd12ee8991c9abb7451170..3e3fb007f8e09cbf6511e21a73d509a65d6b0609 100644 (file)
@@ -25,6 +25,7 @@
 #include <haproxy/sample.h>
 #include <haproxy/ssl_sock.h>
 #include <haproxy/stream_interface.h>
+#include <haproxy/tools.h>
 
 
 DECLARE_POOL(pool_head_connection,     "connection",     sizeof(struct connection));