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

src/server_state.c

index 72353059c46e6775bd0d5f69f1e61f8912a823a9..6f42a397f48e3f995e8966116f0adea4d8092895 100644 (file)
@@ -27,6 +27,7 @@
 #include <haproxy/resolvers.h>
 #include <haproxy/server.h>
 #include <haproxy/ssl_sock.h>
+#include <haproxy/tools.h>
 
 
 /* Update a server state using the parameters available in the params list.