From: Remi Gacogne Date: Thu, 16 Oct 2025 13:11:56 +0000 (+0200) Subject: dnsdist: Fix build error when only protobuf is enabled X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F16281%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Fix build error when only protobuf is enabled 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 --- 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) :