Only include db.h when we have to.
This commit is contained in:
parent
f23f9a03c8
commit
1512d5ce64
7 changed files with 8 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
|
#include "db.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
|
|
|
@ -118,7 +118,6 @@
|
||||||
#include "bignum.h"
|
#include "bignum.h"
|
||||||
#include "base58.h"
|
#include "base58.h"
|
||||||
#include "script.h"
|
#include "script.h"
|
||||||
#include "db.h"
|
|
||||||
#include "net.h"
|
#include "net.h"
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "rpc.h"
|
#include "rpc.h"
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
// Distributed under the MIT/X11 software license, see the accompanying
|
// Distributed under the MIT/X11 software license, see the accompanying
|
||||||
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
|
#include "db.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
// Distributed under the MIT/X11 software license, see the accompanying
|
// Distributed under the MIT/X11 software license, see the accompanying
|
||||||
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
|
#include "db.h"
|
||||||
#include "cryptopp/sha.h"
|
#include "cryptopp/sha.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
|
@ -77,6 +77,9 @@ extern int fUseUPnP;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class CReserveKey;
|
||||||
|
class CTxDB;
|
||||||
|
class CTxIndex;
|
||||||
|
|
||||||
|
|
||||||
bool CheckDiskSpace(uint64 nAdditionalBytes=0);
|
bool CheckDiskSpace(uint64 nAdditionalBytes=0);
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
#include "irc.h"
|
#include "irc.h"
|
||||||
|
#include "db.h"
|
||||||
|
|
||||||
#ifdef USE_UPNP
|
#ifdef USE_UPNP
|
||||||
#include <miniupnpc/miniwget.h>
|
#include <miniupnpc/miniwget.h>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
#include "cryptopp/sha.h"
|
#include "cryptopp/sha.h"
|
||||||
|
#include "db.h"
|
||||||
#undef printf
|
#undef printf
|
||||||
#include <boost/asio.hpp>
|
#include <boost/asio.hpp>
|
||||||
#include <boost/iostreams/concepts.hpp>
|
#include <boost/iostreams/concepts.hpp>
|
||||||
|
|
Loading…
Reference in a new issue