From: Jordan Lewis Date: Sat, 14 May 2011 19:30:15 +0000 (-0500) Subject: Only include irc.h when needed X-Git-Tag: v0.4.0-unstable~234^2~32^2~7 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=f23f9a03c86f789ab41d75b91f75393e3156ec39 Only include irc.h when needed --- diff --git a/src/headers.h b/src/headers.h index d40c5ed..7cc6d3b 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 099d9e0..b245546 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 1320781..3339b77 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