Browse Source

Only include init.h when we have to

tags/v0.15.1
Jordan Lewis 10 years ago
parent
commit
edd309e537
5 changed files with 4 additions and 1 deletions
  1. 0
    1
      src/headers.h
  2. 1
    0
      src/init.cpp
  3. 1
    0
      src/main.cpp
  4. 1
    0
      src/net.cpp
  5. 1
    0
      src/rpc.cpp

+ 0
- 1
src/headers.h View File

@@ -125,7 +125,6 @@
#else
#include "noui.h"
#endif
#include "init.h"

#ifdef GUI
#include "xpm/addressbook16.xpm"

+ 1
- 0
src/init.cpp View File

@@ -5,6 +5,7 @@
#include "db.h"
#include "rpc.h"
#include "net.h"
#include "init.h"

using namespace std;
using namespace boost;

+ 1
- 0
src/main.cpp View File

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

using namespace std;

+ 1
- 0
src/net.cpp View File

@@ -6,6 +6,7 @@
#include "irc.h"
#include "db.h"
#include "net.h"
#include "init.h"

#ifdef USE_UPNP
#include <miniupnpc/miniwget.h>

+ 1
- 0
src/rpc.cpp View File

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

Loading…
Cancel
Save