Only include init.h when we have to

This commit is contained in:
Jordan Lewis 2011-05-15 16:52:31 -05:00
parent 40c2614ef4
commit edd309e537
5 changed files with 4 additions and 1 deletions

View File

@ -125,7 +125,6 @@
#else #else
#include "noui.h" #include "noui.h"
#endif #endif
#include "init.h"
#ifdef GUI #ifdef GUI
#include "xpm/addressbook16.xpm" #include "xpm/addressbook16.xpm"

View File

@ -5,6 +5,7 @@
#include "db.h" #include "db.h"
#include "rpc.h" #include "rpc.h"
#include "net.h" #include "net.h"
#include "init.h"
using namespace std; using namespace std;
using namespace boost; using namespace boost;

View File

@ -4,6 +4,7 @@
#include "headers.h" #include "headers.h"
#include "db.h" #include "db.h"
#include "net.h" #include "net.h"
#include "init.h"
#include "cryptopp/sha.h" #include "cryptopp/sha.h"
using namespace std; using namespace std;

View File

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

View File

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