From a279a1453094d0abfc847aa790bc82addc14cc62 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 16 Oct 2025 15:11:56 +0200 Subject: [PATCH] dnsdist: Fix build error when only protobuf is enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The build fails with: ``` ../dnsdist-protobuf.cc: In member function ‘void DNSDistProtoBufMessage::serialize(std::string&) const’: ../dnsdist-protobuf.cc:205:7: error: ‘vinfolog’ was not declared in this scope 205 | vinfolog("Error while parsing the RRs from a response packet to add them to the protobuf message: %s", exp.what()); | ^~~~~~~~ ``` because of a missing header. Signed-off-by: Remi Gacogne --- pdns/dnsdistdist/dnsdist-protobuf.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/dnsdistdist/dnsdist-protobuf.cc b/pdns/dnsdistdist/dnsdist-protobuf.cc index 73f4e43f54..2f984fc92b 100644 --- a/pdns/dnsdistdist/dnsdist-protobuf.cc +++ b/pdns/dnsdistdist/dnsdist-protobuf.cc @@ -27,6 +27,7 @@ #include "base64.hh" #include "dnsdist.hh" #include "dnsdist-protobuf.hh" +#include "dolog.hh" #include "protozero.hh" DNSDistProtoBufMessage::DNSDistProtoBufMessage(const DNSQuestion& dnsquestion) : -- 2.47.3