diff options
| author | Jordan Lewis <[email protected]> | 2011-05-15 16:52:31 -0500 |
|---|---|---|
| committer | Jordan Lewis <[email protected]> | 2011-05-15 22:23:37 -0500 |
| commit | edd309e5373022f9737cb97b7f38872e46a53cd4 (patch) | |
| tree | 00d33e1578bfc16c722f5c0f9ed1baf84f2a4186 | |
| parent | Only include net.h when we have to (diff) | |
| download | discoin-edd309e5373022f9737cb97b7f38872e46a53cd4.tar.xz discoin-edd309e5373022f9737cb97b7f38872e46a53cd4.zip | |
Only include init.h when we have to
| -rw-r--r-- | src/headers.h | 1 | ||||
| -rw-r--r-- | src/init.cpp | 1 | ||||
| -rw-r--r-- | src/main.cpp | 1 | ||||
| -rw-r--r-- | src/net.cpp | 1 | ||||
| -rw-r--r-- | src/rpc.cpp | 1 |
5 files changed, 4 insertions, 1 deletions
diff --git a/src/headers.h b/src/headers.h index 67165c464..3665e584f 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 149110f40..3eab8e1c8 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 5c6cb678c..18f36eb3a 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 60a91dffd..51d29022b 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 9ab7710ad..8731b6d57 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> |