From c49ef4f902a35dd929f718fdb2e3c9160081e771 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 24 Dec 2024 17:12:34 +0100 Subject: [PATCH] dnsdist: Clean up the dnsdist protobuf header --- pdns/dnsdistdist/dnsdist-protobuf.hh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pdns/dnsdistdist/dnsdist-protobuf.hh b/pdns/dnsdistdist/dnsdist-protobuf.hh index c2dee817daf3..13d035749e60 100644 --- a/pdns/dnsdistdist/dnsdist-protobuf.hh +++ b/pdns/dnsdistdist/dnsdist-protobuf.hh @@ -21,12 +21,18 @@ */ #pragma once -#include "dnsdist.hh" #include "dnsname.hh" #ifndef DISABLE_PROTOBUF +#include +#include +#include + #include "protozero.hh" +struct DNSQuestion; +struct DNSResponse; + class DNSDistProtoBufMessage { public: @@ -146,9 +152,9 @@ class ProtoBufMetaKey using TypeContainer = boost::multi_index_container< KeyTypeDescription, - indexed_by< - hashed_unique, member>, - hashed_unique, member>>>; + boost::multi_index::indexed_by< + boost::multi_index::hashed_unique, boost::multi_index::member>, + boost::multi_index::hashed_unique, boost::multi_index::member>>>; static const TypeContainer s_types;