]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: udp: include tools.h from proto_udp.c
authorWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 11:59:56 +0000 (13:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 11:59:56 +0000 (13:59 +0200)
A few functions are used from there for address conversion but the
file wasn't included.

src/proto_udp.c

index 56d351823a19a0eaf4f63178633aa27e23f5a9b8..f07170f297f1328e8d397129a5fe020e14b3d9e4 100644 (file)
@@ -39,6 +39,7 @@
 #include <haproxy/sock.h>
 #include <haproxy/sock_inet.h>
 #include <haproxy/task.h>
+#include <haproxy/tools.h>
 
 static int udp_bind_listener(struct listener *listener, char *errmsg, int errlen);
 static void udp_enable_listener(struct listener *listener);