aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-02-20 15:16:03 +0100
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-02-20 15:11:58 +0100
commitfa58ae74ea67485495dbc2d003adfbca68d6869b (patch)
treec8566f5388ced6d78d8e55d11cfbce463b5e74b0 /src
parentfa31908ea848488ff842f1b9fce6235bb8855ec7 (diff)
downloadbitcoin-fa58ae74ea67485495dbc2d003adfbca68d6869b.tar.xz
refactor: Add missing include for USE_BDB, USE_SQLITE to bench/wallet_ismine.cpp
It was included indirectly via src/wallet/test/util.h, however it is better to include what you use.
Diffstat (limited to 'src')
-rw-r--r--src/bench/wallet_ismine.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bench/wallet_ismine.cpp b/src/bench/wallet_ismine.cpp
index 261c95c7c8..3f922e18a5 100644
--- a/src/bench/wallet_ismine.cpp
+++ b/src/bench/wallet_ismine.cpp
@@ -2,6 +2,9 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+#if defined(HAVE_CONFIG_H)
+#include <config/bitcoin-config.h>
+#endif // HAVE_CONFIG_H
#include <bench/bench.h>
#include <interfaces/chain.h>
#include <key.h>
@@ -11,9 +14,9 @@
#include <util/translation.h>
#include <validationinterface.h>
#include <wallet/context.h>
+#include <wallet/test/util.h>
#include <wallet/wallet.h>
#include <wallet/walletutil.h>
-#include <wallet/test/util.h>
namespace wallet {
static void WalletIsMine(benchmark::Bench& bench, bool legacy_wallet, int num_combo = 0)