From: Willy Tarreau Date: Sat, 8 May 2021 11:09:46 +0000 (+0200) Subject: BUILD: dns: include tools.h in dns.c X-Git-Tag: v2.4-dev19~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f9e9fc20c20481fa9cf496066ee00130d09a440;p=thirdparty%2Fhaproxy.git BUILD: dns: include tools.h in dns.c It is used for get_addr_len() without being included. It could be worth splitting address manipulation functions to a different set of files. --- diff --git a/src/dns.c b/src/dns.c index a6b8fa7cb8..083850d950 100644 --- a/src/dns.c +++ b/src/dns.c @@ -33,6 +33,7 @@ #include #include #include +#include static THREAD_LOCAL char *dns_msg_trash;