aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-06-05 07:00:16 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-06-05 07:00:16 +0200
commita92aded70ec2346c3f07ff1cf8eb97101a76912f (patch)
treedcb746ef0a38c960487d296e80ec0daa6ce74321 /src/qt
parentd900ab9e66eccaf416ca2c589f1b4c79f602c397 (diff)
Fix GUI build with `--disable-wallet`
fe6bff2 and 65f78a1 broke it. Minor build changes.
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/Makefile.am2
-rw-r--r--src/qt/rpcconsole.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/Makefile.am b/src/qt/Makefile.am
index 1d85113d78..d527f790ef 100644
--- a/src/qt/Makefile.am
+++ b/src/qt/Makefile.am
@@ -276,6 +276,7 @@ BITCOIN_QT_CPP = \
notificator.cpp \
optionsdialog.cpp \
optionsmodel.cpp \
+ peertablemodel.cpp \
qvalidatedlineedit.cpp \
qvaluecombobox.cpp \
rpcconsole.cpp \
@@ -296,7 +297,6 @@ BITCOIN_QT_CPP += \
overviewpage.cpp \
paymentrequestplus.cpp \
paymentserver.cpp \
- peertablemodel.cpp \
receivecoinsdialog.cpp \
receiverequestdialog.cpp \
recentrequeststablemodel.cpp \
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 6a8bce25d4..0d3e11f4ac 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -15,7 +15,9 @@
#include "util.h"
#include "json/json_spirit_value.h"
+#ifdef ENABLE_WALLET
#include <db_cxx.h>
+#endif
#include <openssl/crypto.h>
#include <QKeyEvent>