Skip to content

Commit b33af48

Browse files
committed
Include wallet/bdb.h where it is actually being used
1 parent 50e019a commit b33af48

File tree

6 files changed

+7
-1
lines changed

6 files changed

+7
-1
lines changed

src/qt/rpcconsole.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <univalue.h>
2626

2727
#ifdef ENABLE_WALLET
28+
#include <wallet/bdb.h>
2829
#include <wallet/db.h>
2930
#include <wallet/wallet.h>
3031
#endif

src/wallet/init.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <util/moneystr.h>
1616
#include <util/system.h>
1717
#include <util/translation.h>
18+
#include <wallet/bdb.h>
1819
#include <wallet/coincontrol.h>
1920
#include <wallet/wallet.h>
2021
#include <walletinitinterface.h>

src/wallet/salvage.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <fs.h>
77
#include <streams.h>
88
#include <util/translation.h>
9+
#include <wallet/bdb.h>
910
#include <wallet/salvage.h>
1011
#include <wallet/wallet.h>
1112
#include <wallet/walletdb.h>

src/wallet/scriptpubkeyman.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

55
#include <key_io.h>
6+
#include <logging.h>
67
#include <outputtype.h>
78
#include <script/descriptor.h>
89
#include <script/sign.h>
910
#include <util/bip32.h>
1011
#include <util/strencodings.h>
1112
#include <util/string.h>
13+
#include <util/system.h>
14+
#include <util/time.h>
1215
#include <util/translation.h>
1316
#include <wallet/scriptpubkeyman.h>
1417

src/wallet/scriptpubkeyman.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <script/standard.h>
1212
#include <util/error.h>
1313
#include <util/message.h>
14+
#include <util/time.h>
1415
#include <wallet/crypter.h>
1516
#include <wallet/ismine.h>
1617
#include <wallet/walletdb.h>

src/wallet/walletdb.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#include <amount.h>
1010
#include <script/sign.h>
11-
#include <wallet/bdb.h>
1211
#include <wallet/db.h>
1312
#include <wallet/walletutil.h>
1413
#include <key.h>

0 commit comments

Comments
 (0)