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://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=9f9e9fc20c20481fa9cf496066ee00130d09a440;p=haproxy.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 a6b8fa7cb..083850d95 100644 --- a/src/dns.c +++ b/src/dns.c @@ -33,6 +33,7 @@ #include #include #include +#include static THREAD_LOCAL char *dns_msg_trash;