Only include strlcpy.h when we have to

This commit is contained in:
Jordan Lewis 2011-05-15 17:08:35 -05:00
parent edd309e537
commit fdd7d04744
5 changed files with 4 additions and 1 deletions

View File

@ -110,7 +110,6 @@
#pragma hdrstop #pragma hdrstop
#include "strlcpy.h"
#include "serialize.h" #include "serialize.h"
#include "uint256.h" #include "uint256.h"
#include "util.h" #include "util.h"

View File

@ -6,6 +6,7 @@
#include "rpc.h" #include "rpc.h"
#include "net.h" #include "net.h"
#include "init.h" #include "init.h"
#include "strlcpy.h"
using namespace std; using namespace std;
using namespace boost; using namespace boost;

View File

@ -5,6 +5,7 @@
#include "headers.h" #include "headers.h"
#include "irc.h" #include "irc.h"
#include "net.h" #include "net.h"
#include "strlcpy.h"
using namespace std; using namespace std;
using namespace boost; using namespace boost;

View File

@ -7,6 +7,7 @@
#include "db.h" #include "db.h"
#include "net.h" #include "net.h"
#include "init.h" #include "init.h"
#include "strlcpy.h"
#ifdef USE_UPNP #ifdef USE_UPNP
#include <miniupnpc/miniwget.h> #include <miniupnpc/miniwget.h>

View File

@ -2,6 +2,7 @@
// Distributed under the MIT/X11 software license, see the accompanying // Distributed under the MIT/X11 software license, see the accompanying
// 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 "strlcpy.h"
using namespace std; using namespace std;
using namespace boost; using namespace boost;