From dce292e7f40d9a0634464dcfed3ea00951e76dbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Thu, 11 Feb 2021 14:15:38 +0100 Subject: [PATCH] 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. --- lib/dns/include/dns/view.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/dns/include/dns/view.h b/lib/dns/include/dns/view.h index 937c0e55a9..575b57e4cf 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)