aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-10-19 15:34:21 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-11-18 11:56:08 -0500
commita58b719cf75e2d97205ec260bcff0d4780fe4fb8 (patch)
tree59b1f757afd587e30aa4e094131c81db300929d9 /src/qt
parentb33af48210c117a734fc3e1bebeb1c2057645775 (diff)
downloadbitcoin-a58b719cf75e2d97205ec260bcff0d4780fe4fb8.tar.xz
Do not compile BDB things when USE_BDB is defined
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/rpcconsole.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 9887ae668b..88dfbd69ff 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -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