diff --git a/src/wallet/bdb.cpp b/src/wallet/bdb.cpp index 69a0201d4a4..9ea43ca67c5 100644 --- a/src/wallet/bdb.cpp +++ b/src/wallet/bdb.cpp @@ -18,6 +18,7 @@ #include +#include #include // Windows may not define S_IRUSR or S_IWUSR. We define both diff --git a/src/wallet/bdb.h b/src/wallet/bdb.h index f9b0b7601d4..630630ebe01 100644 --- a/src/wallet/bdb.h +++ b/src/wallet/bdb.h @@ -21,10 +21,13 @@ #include #include -#include - struct bilingual_str; +class DbEnv; +class DbTxn; +class Db; +class Dbc; + // This constant was introduced in BDB 4.0.14 and has never changed, but there // is a belt-and-suspenders check in the cpp file just in case. #define BDB_DB_FILE_ID_LEN 20 /* Unique file ID length. */ diff --git a/src/wallet/salvage.cpp b/src/wallet/salvage.cpp index a9b84fbcabf..0a0745b1c50 100644 --- a/src/wallet/salvage.cpp +++ b/src/wallet/salvage.cpp @@ -11,6 +11,8 @@ #include #include +#include + namespace wallet { /* End of headers, beginning of key/value data */ static const char *HEADER_END = "HEADER=END";