Only include irc.h when needed

This commit is contained in:
Jordan Lewis 2011-05-14 14:30:15 -05:00
parent f441949515
commit f23f9a03c8
3 changed files with 2 additions and 1 deletions

View file

@ -120,7 +120,6 @@
#include "script.h" #include "script.h"
#include "db.h" #include "db.h"
#include "net.h" #include "net.h"
#include "irc.h"
#include "main.h" #include "main.h"
#include "rpc.h" #include "rpc.h"
#ifdef GUI #ifdef GUI

View file

@ -3,6 +3,7 @@
// file license.txt or http://www.opensource.org/licenses/mit-license.php. // file license.txt or http://www.opensource.org/licenses/mit-license.php.
#include "headers.h" #include "headers.h"
#include "irc.h"
using namespace std; using namespace std;
using namespace boost; using namespace boost;

View file

@ -3,6 +3,7 @@
// file license.txt or http://www.opensource.org/licenses/mit-license.php. // file license.txt or http://www.opensource.org/licenses/mit-license.php.
#include "headers.h" #include "headers.h"
#include "irc.h"
#ifdef USE_UPNP #ifdef USE_UPNP
#include <miniupnpc/miniwget.h> #include <miniupnpc/miniwget.h>