From: Fred Morcos Date: Thu, 17 Oct 2024 08:29:31 +0000 (+0200) Subject: Cleanup includes in lmdbbackend X-Git-Tag: rec-5.2.0-alpha1~26^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F14778%2Fhead;p=thirdparty%2Fpdns.git Cleanup includes in lmdbbackend --- 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