diff options
author | Thomas Holenstein <thomas.holenstein@gmail.com> | 2013-12-18 20:46:43 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-19 10:46:41 +0100 |
commit | df840de5daef60a253e4d84d14ff72bb7188a6c0 (patch) | |
tree | c9953453f4edcce02a5d18685ffd66e6e489693b /src/init.cpp | |
parent | 285cf7a1a6cb660b57cbc75f63e49736b51d705e (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/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index a0b9f89f23..28f6e08f9a 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -10,7 +10,6 @@ #include "init.h" #include "addrman.h" -#include "db.h" #include "checkpoints.h" #include "main.h" #include "miner.h" @@ -20,6 +19,7 @@ #include "ui_interface.h" #include "util.h" #ifdef ENABLE_WALLET +#include "db.h" #include "wallet.h" #include "walletdb.h" #endif |