From 631cb36b4111f189294ea6aae19b55d77c52f60b Mon Sep 17 00:00:00 2001 From: Otto Date: Mon, 27 Sep 2021 14:58:22 +0200 Subject: [PATCH] Fix compile for !HAVE_FSTRM, spotted by mind04 --- pdns/lwres.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pdns/lwres.cc b/pdns/lwres.cc index 77a7f9c296..2fcba38c0f 100644 --- a/pdns/lwres.cc +++ b/pdns/lwres.cc @@ -52,15 +52,14 @@ #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>>& fstreamLoggers) -- 2.47.2