From: Ondřej Surý Date: Thu, 11 Feb 2021 13:15:38 +0000 (+0100) Subject: Stop including lmdb.h from X-Git-Tag: v9.17.11~52^2~2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=dce292e7f40d9a0634464dcfed3ea00951e76dbb;p=thirdparty%2Fbind9.git Stop including lmdb.h from The lmdb.h doesn't have to be included from the dns/view.h header as it is separately included where used. This stops exposing the inclusion of lmdb.h from the libdns headers. --- diff --git a/lib/dns/include/dns/view.h b/lib/dns/include/dns/view.h index 937c0e55a90..575b57e4cfd 100644 --- a/lib/dns/include/dns/view.h +++ b/lib/dns/include/dns/view.h @@ -253,7 +253,6 @@ struct dns_view { #define DNS_VIEWATTR_REQSHUTDOWN 0x04 #ifdef HAVE_LMDB -#include #define DNS_LMDB_COMMON_FLAGS (MDB_CREATE | MDB_NOSUBDIR | MDB_NOLOCK) #ifndef __OpenBSD__ #define DNS_LMDB_FLAGS (DNS_LMDB_COMMON_FLAGS)