Only include db.h when we have to.

This commit is contained in:
Jordan Lewis 2011-05-14 15:57:34 -05:00
parent f23f9a03c8
commit 1512d5ce64
7 changed files with 8 additions and 1 deletions

View file

@ -3,6 +3,7 @@
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
#include "headers.h"
#include "db.h"
using namespace std;
using namespace boost;

View file

@ -118,7 +118,6 @@
#include "bignum.h"
#include "base58.h"
#include "script.h"
#include "db.h"
#include "net.h"
#include "main.h"
#include "rpc.h"

View file

@ -2,6 +2,7 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
#include "headers.h"
#include "db.h"
using namespace std;
using namespace boost;

View file

@ -2,6 +2,7 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
#include "headers.h"
#include "db.h"
#include "cryptopp/sha.h"
using namespace std;

View file

@ -77,6 +77,9 @@ extern int fUseUPnP;
class CReserveKey;
class CTxDB;
class CTxIndex;
bool CheckDiskSpace(uint64 nAdditionalBytes=0);

View file

@ -4,6 +4,7 @@
#include "headers.h"
#include "irc.h"
#include "db.h"
#ifdef USE_UPNP
#include <miniupnpc/miniwget.h>

View file

@ -4,6 +4,7 @@
#include "headers.h"
#include "cryptopp/sha.h"
#include "db.h"
#undef printf
#include <boost/asio.hpp>
#include <boost/iostreams/concepts.hpp>