From b33af48210c117a734fc3e1bebeb1c2057645775 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Mon, 19 Oct 2020 15:12:14 -0400 Subject: [PATCH] Include wallet/bdb.h where it is actually being used --- src/qt/rpcconsole.cpp | 1 + src/wallet/init.cpp | 1 + src/wallet/salvage.cpp | 1 + src/wallet/scriptpubkeyman.cpp | 3 +++ src/wallet/scriptpubkeyman.h | 1 + src/wallet/walletdb.h | 1 - 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 3d78703ff74..9887ae668b3 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -25,6 +25,7 @@ #include #ifdef ENABLE_WALLET +#include #include #include #endif diff --git a/src/wallet/init.cpp b/src/wallet/init.cpp index 8b2ef191fbb..c2fb893c51d 100644 --- a/src/wallet/init.cpp +++ b/src/wallet/init.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/src/wallet/salvage.cpp b/src/wallet/salvage.cpp index 225b9750678..c083f0fb318 100644 --- a/src/wallet/salvage.cpp +++ b/src/wallet/salvage.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include diff --git a/src/wallet/scriptpubkeyman.cpp b/src/wallet/scriptpubkeyman.cpp index d2e1be6402d..7ed20e43947 100644 --- a/src/wallet/scriptpubkeyman.cpp +++ b/src/wallet/scriptpubkeyman.cpp @@ -3,12 +3,15 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include +#include #include #include