From: Otto Date: Mon, 27 Sep 2021 12:58:22 +0000 (+0200) Subject: Fix compile for !HAVE_FSTRM, spotted by mind04 X-Git-Tag: auth-4.6.0-alpha1~23^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10765%2Fhead;p=thirdparty%2Fpdns.git Fix compile for !HAVE_FSTRM, spotted by mind04 --- 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)