mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05: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:
parent
285cf7a1a6
commit
df840de5da
6 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -8,8 +8,9 @@
|
|||
#include "core.h"
|
||||
#include "main.h"
|
||||
#include "net.h"
|
||||
#ifdef ENABLE_WALLET
|
||||
#include "wallet.h"
|
||||
|
||||
#endif
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// BitcoinMiner
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "addrman.h"
|
||||
#include "chainparams.h"
|
||||
#include "core.h"
|
||||
#include "db.h"
|
||||
#include "ui_interface.h"
|
||||
|
||||
#ifdef WIN32
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
#include "miner.h"
|
||||
#include "uint256.h"
|
||||
#include "util.h"
|
||||
#include "wallet.h"
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
|
||||
|
||||
#include "db.h"
|
||||
#include "main.h"
|
||||
#include "txdb.h"
|
||||
#include "ui_interface.h"
|
||||
#include "util.h"
|
||||
#ifdef ENABLE_WALLET
|
||||
#include "db.h"
|
||||
#include "wallet.h"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue