mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
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:
committed by
Wladimir J. van der Laan
parent
285cf7a1a6
commit
df840de5da
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user