]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix compilation with !HAVE_IPCIPHER 11190/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 14 Jan 2022 14:11:48 +0000 (15:11 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 14 Jan 2022 14:11:48 +0000 (15:11 +0100)
pdns/dnswasher.cc

index 5a6b2001f5c33b9a071dc8c21f36203f47f9f04a..0d5dd1c86c137335729b59805b85666eaf551e2a 100644 (file)
@@ -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 <boost/program_options.hpp>
 #include "base64.hh"
 
-StatBag S;
 
 namespace po = boost::program_options;
 po::variables_map g_vm;