From 8fd7cf7365421bccd0075f8aec40fc46f76c2e1e Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 14 Jan 2022 15:11:48 +0100 Subject: [PATCH] Fix compilation with !HAVE_IPCIPHER --- pdns/dnswasher.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pdns/dnswasher.cc b/pdns/dnswasher.cc index 5a6b2001f5..0d5dd1c86c 100644 --- a/pdns/dnswasher.cc +++ b/pdns/dnswasher.cc @@ -38,16 +38,17 @@ otherwise, obfuscate the response IP address #include "config.h" #endif -#ifdef HAVE_IPCIPHER +#include "namespaces.hh" #include "statbag.hh" +StatBag S; + +#ifdef HAVE_IPCIPHER #include "dnspcap.hh" #include "iputils.hh" #include "ipcipher.hh" -#include "namespaces.hh" #include #include "base64.hh" -StatBag S; namespace po = boost::program_options; po::variables_map g_vm; -- 2.47.2