aboutsummaryrefslogtreecommitdiff
path: root/src/test
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
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')
-rw-r--r--src/test/miner_tests.cpp1
-rw-r--r--src/test/test_bitcoin.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp
index ea6abb7e9a..8e3091d555 100644
--- a/src/test/miner_tests.cpp
+++ b/src/test/miner_tests.cpp
@@ -4,7 +4,6 @@
#include "miner.h"
#include "uint256.h"
#include "util.h"
-#include "wallet.h"
#include <boost/test/unit_test.hpp>
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