Browse Source

Only include init.h when we have to

miguelfreitas
Jordan Lewis 14 years ago
parent
commit
edd309e537
  1. 1
      src/headers.h
  2. 1
      src/init.cpp
  3. 1
      src/main.cpp
  4. 1
      src/net.cpp
  5. 1
      src/rpc.cpp

1
src/headers.h

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

1
src/init.cpp

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

1
src/main.cpp

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

1
src/net.cpp

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

1
src/rpc.cpp

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