]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: include logr.hh in bridge.hh 16026/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 08:27:38 +0000 (10:27 +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>
(cherry picked from commit d8cc01c39531a3ec6ca1ad8ec17b09a97b0f833a)

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
 {