aboutsummaryrefslogtreecommitdiff
path: root/src/miner.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/miner.cpp
parent285cf7a1a6cb660b57cbc75f63e49736b51d705e (diff)
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/miner.cpp')
-rw-r--r--src/miner.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/miner.cpp b/src/miner.cpp
index edfbbf5736..21a9fa256b 100644
--- a/src/miner.cpp
+++ b/src/miner.cpp
@@ -8,8 +8,9 @@
#include "core.h"
#include "main.h"
#include "net.h"
+#ifdef ENABLE_WALLET
#include "wallet.h"
-
+#endif
//////////////////////////////////////////////////////////////////////////////
//
// BitcoinMiner