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

@@ -5,13 +5,14 @@
#include "rpcserver.h"
#include "chainparams.h"
#include "db.h"
#include "init.h"
#include "net.h"
#include "main.h"
#include "miner.h"
#ifdef ENABLE_WALLET
#include "db.h"
#include "wallet.h"
#endif
#include <stdint.h>
#include "json/json_spirit_utils.h"