From: Michał Kępień Date: Wed, 26 Jun 2019 06:37:31 +0000 (+0200) Subject: Include in lib/dns/dnsrps.c X-Git-Tag: v9.15.2~29^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=6cfcc6e8a2eb714014d8823b404fbe1fb598064c;p=thirdparty%2Fbind9.git Include in lib/dns/dnsrps.c Since commit 0771dd3be8bad18f669de978f3be5e08cf2dbd6e, no longer includes . On some systems (e.g. FreeBSD), this means that no header included by lib/dns/dnsrps.c (and no header included by those headers) contains a definition of free() any more, which triggers a compiler warning as lib/dns/dnsrps.c calls that function. Add the missing #include directive to prevent that warning from being triggered. --- diff --git a/lib/dns/dnsrps.c b/lib/dns/dnsrps.c index f9e2793a29e..d9368140e11 100644 --- a/lib/dns/dnsrps.c +++ b/lib/dns/dnsrps.c @@ -16,6 +16,8 @@ #ifdef USE_DNSRPS +#include + #include #include #include