Only include init.h when we have to

pull/2/merge
Jordan Lewis 14 years ago
parent 40c2614ef4
commit edd309e537

@ -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"

@ -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;

@ -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;

@ -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>

@ -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>

Loading…
Cancel
Save