Only include irc.h when needed
authorJordan Lewis <jordanthelewis@gmail.com>
Sat, 14 May 2011 19:30:15 +0000 (14:30 -0500)
committerJordan Lewis <jordanthelewis@gmail.com>
Mon, 16 May 2011 03:19:16 +0000 (22:19 -0500)
src/headers.h
src/irc.cpp
src/net.cpp

index d40c5ed..7cc6d3b 100644 (file)
 #include "script.h"
 #include "db.h"
 #include "net.h"
-#include "irc.h"
 #include "main.h"
 #include "rpc.h"
 #ifdef GUI
index 099d9e0..b245546 100644 (file)
@@ -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;
index 1320781..3339b77 100644 (file)
@@ -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>