]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: include logr.hh in bridge.hh 16021/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 25 Aug 2025 07:11:20 +0000 (09:11 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 25 Aug 2025 07:43:19 +0000 (09:43 +0200)
Not doing so results in creating a shared pointer to an incomplete class,
which does not work for all compilers/c++ lib combinations.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/recursordist/rec-rust-lib/rust/src/bridge.hh

index c716fdd90679511a2934838706148bd39f3b523d..1813b0c86dcb0b85a4c076862e4c9cd92b8a23a2 100644 (file)
 
 #include "rust/cxx.h"
 #include "credentials.hh"
+#include "logr.hh"
 
 class NetmaskGroup;
 union ComboAddress;
-namespace Logr
-{
-class Logger;
-}
 
 namespace pdns::rust::misc
 {