diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2023-07-06 19:12:28 +0000 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2023-07-07 14:14:20 +0000 |
commit | 8b5397c00e821d7eaab22f512e9d71a1a0392ebf (patch) | |
tree | a70c0877320788f33206421dfe285b99354994af /src/wallet/bdb.cpp | |
parent | 6e010626af7ed51f1748323ece2f46335e145f2f (diff) | |
download | bitcoin-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/bdb.cpp')
-rw-r--r-- | src/wallet/bdb.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/bdb.cpp b/src/wallet/bdb.cpp index 69a0201d4a..9ea43ca67c 100644 --- a/src/wallet/bdb.cpp +++ b/src/wallet/bdb.cpp @@ -18,6 +18,7 @@ #include <stdint.h> +#include <db_cxx.h> #include <sys/stat.h> // Windows may not define S_IRUSR or S_IWUSR. We define both |