mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Stop including lmdb.h from <dns/view.h>
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.
This commit is contained in:
committed by
Mark Andrews
parent
d1448a4c2a
commit
dce292e7f4
@@ -253,7 +253,6 @@ struct dns_view {
|
|||||||
#define DNS_VIEWATTR_REQSHUTDOWN 0x04
|
#define DNS_VIEWATTR_REQSHUTDOWN 0x04
|
||||||
|
|
||||||
#ifdef HAVE_LMDB
|
#ifdef HAVE_LMDB
|
||||||
#include <lmdb.h>
|
|
||||||
#define DNS_LMDB_COMMON_FLAGS (MDB_CREATE | MDB_NOSUBDIR | MDB_NOLOCK)
|
#define DNS_LMDB_COMMON_FLAGS (MDB_CREATE | MDB_NOSUBDIR | MDB_NOLOCK)
|
||||||
#ifndef __OpenBSD__
|
#ifndef __OpenBSD__
|
||||||
#define DNS_LMDB_FLAGS (DNS_LMDB_COMMON_FLAGS)
|
#define DNS_LMDB_FLAGS (DNS_LMDB_COMMON_FLAGS)
|
||||||
|
Reference in New Issue
Block a user