aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
diff options
context:
space:
mode:
authorThomas Holenstein <thomas.holenstein@gmail.com>2013-12-18 20:46:43 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-12-19 10:46:41 +0100
commitdf840de5daef60a253e4d84d14ff72bb7188a6c0 (patch)
treec9953453f4edcce02a5d18685ffd66e6e489693b /src/test/test_bitcoin.cpp
parent285cf7a1a6cb660b57cbc75f63e49736b51d705e (diff)
downloadbitcoin-df840de5daef60a253e4d84d14ff72bb7188a6c0.tar.xz
Make bitcoin compile without wallet if "db_cxx.h" is not present
Moved includes of "db.h" into #ifdef ENABLE_WALLET blocks or remove them.
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r--src/test/test_bitcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index a4592fe803..667bdfb62e 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -2,12 +2,12 @@
-#include "db.h"
#include "main.h"
#include "txdb.h"
#include "ui_interface.h"
#include "util.h"
#ifdef ENABLE_WALLET
+#include "db.h"
#include "wallet.h"
#endif