From 7b71bce35097bba7feb81b310a775cd014a39dce Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Thu, 17 Oct 2024 10:29:31 +0200 Subject: [PATCH] Cleanup includes in lmdbbackend --- modules/lmdbbackend/lmdbbackend.cc | 41 +++++++++++++----------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/modules/lmdbbackend/lmdbbackend.cc b/modules/lmdbbackend/lmdbbackend.cc index f708d84fd1..36841e619a 100644 --- a/modules/lmdbbackend/lmdbbackend.cc +++ b/modules/lmdbbackend/lmdbbackend.cc @@ -20,45 +20,38 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "ext/lmdb-safe/lmdb-safe.hh" -#include -#include -#include -#include -#include -#ifdef HAVE_CONFIG_H +#include "lmdbbackend.hh" + #include "config.h" -#endif -#include "pdns/utility.hh" -#include "pdns/dnsbackend.hh" +#include "ext/lmdb-safe/lmdb-safe.hh" +#include "pdns/arguments.hh" +#include "pdns/base32.hh" #include "pdns/dns.hh" +#include "pdns/dnsbackend.hh" #include "pdns/dnspacket.hh" -#include "pdns/base32.hh" #include "pdns/dnssecinfra.hh" -#include "pdns/pdnsexception.hh" #include "pdns/logger.hh" -#include "pdns/version.hh" -#include "pdns/arguments.hh" -#include "pdns/lock.hh" +#include "pdns/pdnsexception.hh" #include "pdns/uuid-utils.hh" -#include #include -#include +#include +#include #include #include +#include #include - -#include +#include +#include +#include +#include +#include +#include +#include #ifdef HAVE_SYSTEMD #include #endif -#include -#include - -#include "lmdbbackend.hh" - #define SCHEMAVERSION 5 // List the class version here. Default is 0 -- 2.47.2