From: Remi Gacogne Date: Tue, 24 Dec 2024 16:12:34 +0000 (+0100) Subject: dnsdist: Clean up the dnsdist protobuf header X-Git-Tag: dnsdist-2.0.0-alpha1~160^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=541d2446e1d92ce969353ff6bbec1ff98fa71100;p=thirdparty%2Fpdns.git dnsdist: Clean up the dnsdist protobuf header --- diff --git a/pdns/dnsdistdist/dnsdist-protobuf.hh b/pdns/dnsdistdist/dnsdist-protobuf.hh index c2dee817da..13d035749e 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;