Do not compile BDB things when USE_BDB is defined

This commit is contained in:
Andrew Chow
2020-10-19 15:34:21 -04:00
parent b33af48210
commit a58b719cf7
10 changed files with 64 additions and 8 deletions

View File

@@ -25,7 +25,9 @@
#include <univalue.h>
#ifdef ENABLE_WALLET
#ifdef USE_BDB
#include <wallet/bdb.h>
#endif
#include <wallet/db.h>
#include <wallet/wallet.h>
#endif