]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix compile for !HAVE_FSTRM, spotted by mind04 10765/head
authorOtto <otto.moerbeek@open-xchange.com>
Mon, 27 Sep 2021 12:58:22 +0000 (14:58 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Mon, 27 Sep 2021 12:58:22 +0000 (14:58 +0200)
pdns/lwres.cc

index 77a7f9c2964b0495b97cd6b9d0936df7751ba019..2fcba38c0f06c19ce222e6f7db0e9be21c29feec 100644 (file)
 
 #include "rec-protozero.hh"
 #include "uuid-utils.hh"
+#include "rec-tcpout.hh"
+
+thread_local TCPOutConnectionManager t_tcp_manager;
 
 #ifdef HAVE_FSTRM
 #include "dnstap.hh"
 #include "fstrm_logger.hh"
 
-#include "rec-tcpout.hh"
-
-thread_local TCPOutConnectionManager t_tcp_manager;
-
 bool g_syslog;
 
 static bool isEnabledForQueries(const std::shared_ptr<std::vector<std::unique_ptr<FrameStreamLogger>>>& fstreamLoggers)