aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/salvage.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2023-07-06 19:12:28 +0000
committerCory Fields <cory-nospam-@coryfields.com>2023-07-07 14:14:20 +0000
commit8b5397c00e821d7eaab22f512e9d71a1a0392ebf (patch)
treea70c0877320788f33206421dfe285b99354994af /src/wallet/salvage.cpp
parent6e010626af7ed51f1748323ece2f46335e145f2f (diff)
downloadbitcoin-8b5397c00e821d7eaab22f512e9d71a1a0392ebf.tar.xz
wallet: bdb: include bdb header from our implementation files only
This way the dependency can't sneak into other files without being noticed. Forward-declare bdb classes as necessary.
Diffstat (limited to 'src/wallet/salvage.cpp')
-rw-r--r--src/wallet/salvage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/salvage.cpp b/src/wallet/salvage.cpp
index a9b84fbcab..0a0745b1c5 100644
--- a/src/wallet/salvage.cpp
+++ b/src/wallet/salvage.cpp
@@ -11,6 +11,8 @@
#include <wallet/wallet.h>
#include <wallet/walletdb.h>
+#include <db_cxx.h>
+
namespace wallet {
/* End of headers, beginning of key/value data */
static const char *HEADER_END = "HEADER=END";