]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: dns: include tools.h in dns.c
authorWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 11:09:46 +0000 (13:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 11:09:46 +0000 (13:09 +0200)
It is used for get_addr_len() without being included. It could be worth
splitting address manipulation functions to a different set of files.

src/dns.c

index a6b8fa7cb88f42fb1a7922548de6ccb4ab7e5552..083850d950c3b4685387e4128f8a5888c16ec005 100644 (file)
--- a/src/dns.c
+++ b/src/dns.c
@@ -33,6 +33,7 @@
 #include <haproxy/ring.h>
 #include <haproxy/stream.h>
 #include <haproxy/stream_interface.h>
+#include <haproxy/tools.h>
 
 static THREAD_LOCAL char *dns_msg_trash;