aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJordan Lewis <jordanthelewis@gmail.com>2011-05-14 14:30:15 -0500
committerJordan Lewis <jordanthelewis@gmail.com>2011-05-15 22:19:16 -0500
commitf23f9a03c86f789ab41d75b91f75393e3156ec39 (patch)
treed1941bacc0689e551d350e9017f95a77b990bd19 /src
parentf441949515fb76acad2e5987f5fcddbd804ba5c5 (diff)
downloadbitcoin-f23f9a03c86f789ab41d75b91f75393e3156ec39.tar.xz
Only include irc.h when needed
Diffstat (limited to 'src')
-rw-r--r--src/headers.h1
-rw-r--r--src/irc.cpp1
-rw-r--r--src/net.cpp1
3 files changed, 2 insertions, 1 deletions
diff --git a/src/headers.h b/src/headers.h
index d40c5ed0a9..7cc6d3b906 100644
--- a/src/headers.h
+++ b/src/headers.h
@@ -120,7 +120,6 @@
#include "script.h"
#include "db.h"
#include "net.h"
-#include "irc.h"
#include "main.h"
#include "rpc.h"
#ifdef GUI
diff --git a/src/irc.cpp b/src/irc.cpp
index 099d9e0735..b245546378 100644
--- a/src/irc.cpp
+++ b/src/irc.cpp
@@ -3,6 +3,7 @@
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
#include "headers.h"
+#include "irc.h"
using namespace std;
using namespace boost;
diff --git a/src/net.cpp b/src/net.cpp
index 1320781cb2..3339b7718b 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -3,6 +3,7 @@
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
#include "headers.h"
+#include "irc.h"
#ifdef USE_UPNP
#include <miniupnpc/miniwget.h>