From fa58ae74ea67485495dbc2d003adfbca68d6869b Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Tue, 20 Feb 2024 15:16:03 +0100 Subject: [PATCH] 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. --- src/bench/wallet_ismine.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bench/wallet_ismine.cpp b/src/bench/wallet_ismine.cpp index 261c95c7c8d..3f922e18a58 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 +#endif // HAVE_CONFIG_H #include #include #include @@ -11,9 +14,9 @@ #include #include #include +#include #include #include -#include namespace wallet { static void WalletIsMine(benchmark::Bench& bench, bool legacy_wallet, int num_combo = 0)