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.
This commit is contained in:
Thomas Holenstein
2013-12-18 20:46:43 +01:00
committed by Wladimir J. van der Laan
parent 285cf7a1a6
commit df840de5da
6 changed files with 7 additions and 7 deletions

View File

@@ -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