From 6cfcc6e8a2eb714014d8823b404fbe1fb598064c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Wed, 26 Jun 2019 08:37:31 +0200 Subject: [PATCH] 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. --- lib/dns/dnsrps.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/dns/dnsrps.c b/lib/dns/dnsrps.c index f9e2793a29..d9368140e1 100644 --- a/lib/dns/dnsrps.c +++ b/lib/dns/dnsrps.c @@ -16,6 +16,8 @@ #ifdef USE_DNSRPS +#include + #include #include #include