aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-03-31 06:13:40 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-03-31 06:13:40 +0200
commit65adc3a8934a4470614a2eae26095f6397423b9f (patch)
treebc3727410a617bb90133bbef3f2eefbeb7ef7cbd /src/qt
parent4babd0813788770a0a57a108208647f73c106a18 (diff)
qt: Don't require db_cxx.h when wallet disabled
Fix #3978.
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/Makefile.am2
-rw-r--r--src/qt/bitcoin.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/Makefile.am b/src/qt/Makefile.am
index 3bbc8516a0..dd0aa1f3f9 100644
--- a/src/qt/Makefile.am
+++ b/src/qt/Makefile.am
@@ -276,7 +276,6 @@ BITCOIN_QT_CPP = \
qvalidatedlineedit.cpp \
qvaluecombobox.cpp \
rpcconsole.cpp \
- signverifymessagedialog.cpp \
splashscreen.cpp \
trafficgraphwidget.cpp \
utilitydialog.cpp
@@ -298,6 +297,7 @@ BITCOIN_QT_CPP += \
recentrequeststablemodel.cpp \
sendcoinsdialog.cpp \
sendcoinsentry.cpp \
+ signverifymessagedialog.cpp \
transactiondesc.cpp \
transactiondescdialog.cpp \
transactionfilterproxy.cpp \
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index d8e21c4aa6..0db4308bf6 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -25,7 +25,9 @@
#include "rpcserver.h"
#include "ui_interface.h"
#include "util.h"
+#ifdef ENABLE_WALLET
#include "wallet.h"
+#endif
#include <stdint.h>