aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJordan Lewis <jordanthelewis@gmail.com>2011-05-15 16:52:31 -0500
committerJordan Lewis <jordanthelewis@gmail.com>2011-05-15 22:23:37 -0500
commitedd309e5373022f9737cb97b7f38872e46a53cd4 (patch)
tree00d33e1578bfc16c722f5c0f9ed1baf84f2a4186 /src
parent40c2614ef43a59ec0c8dc4338bbe27862243f2bb (diff)
downloadbitcoin-edd309e5373022f9737cb97b7f38872e46a53cd4.tar.xz
Only include init.h when we have to
Diffstat (limited to 'src')
-rw-r--r--src/headers.h1
-rw-r--r--src/init.cpp1
-rw-r--r--src/main.cpp1
-rw-r--r--src/net.cpp1
-rw-r--r--src/rpc.cpp1
5 files changed, 4 insertions, 1 deletions
diff --git a/src/headers.h b/src/headers.h
index 67165c464e..3665e584f6 100644
--- a/src/headers.h
+++ b/src/headers.h
@@ -125,7 +125,6 @@
#else
#include "noui.h"
#endif
-#include "init.h"
#ifdef GUI
#include "xpm/addressbook16.xpm"
diff --git a/src/init.cpp b/src/init.cpp
index 149110f409..3eab8e1c8c 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -5,6 +5,7 @@
#include "db.h"
#include "rpc.h"
#include "net.h"
+#include "init.h"
using namespace std;
using namespace boost;
diff --git a/src/main.cpp b/src/main.cpp
index 5c6cb678c0..18f36eb3a4 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -4,6 +4,7 @@
#include "headers.h"
#include "db.h"
#include "net.h"
+#include "init.h"
#include "cryptopp/sha.h"
using namespace std;
diff --git a/src/net.cpp b/src/net.cpp
index 60a91dffda..51d29022be 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -6,6 +6,7 @@
#include "irc.h"
#include "db.h"
#include "net.h"
+#include "init.h"
#ifdef USE_UPNP
#include <miniupnpc/miniwget.h>
diff --git a/src/rpc.cpp b/src/rpc.cpp
index 9ab7710ad9..8731b6d57e 100644
--- a/src/rpc.cpp
+++ b/src/rpc.cpp
@@ -6,6 +6,7 @@
#include "cryptopp/sha.h"
#include "db.h"
#include "net.h"
+#include "init.h"
#undef printf
#include <boost/asio.hpp>
#include <boost/iostreams/concepts.hpp>