changeset 609:a75f7da5c78c draft

Only include strlcpy.h when we have to
author Jordan Lewis <jordanthelewis@gmail.com>
date Sun, 15 May 2011 17:08:35 -0500 (2011-05-15)
parents 1dbd290981a9
children 24f73b965069
files src/headers.h src/init.cpp src/irc.cpp src/net.cpp src/util.cpp
diffstat 5 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/headers.h
+++ b/src/headers.h
@@ -110,7 +110,6 @@
 
 #pragma hdrstop
 
-#include "strlcpy.h"
 #include "serialize.h"
 #include "uint256.h"
 #include "util.h"
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -6,6 +6,7 @@
 #include "rpc.h"
 #include "net.h"
 #include "init.h"
+#include "strlcpy.h"
 
 using namespace std;
 using namespace boost;
--- a/src/irc.cpp
+++ b/src/irc.cpp
@@ -5,6 +5,7 @@
 #include "headers.h"
 #include "irc.h"
 #include "net.h"
+#include "strlcpy.h"
 
 using namespace std;
 using namespace boost;
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -7,6 +7,7 @@
 #include "db.h"
 #include "net.h"
 #include "init.h"
+#include "strlcpy.h"
 
 #ifdef USE_UPNP
 #include <miniupnpc/miniwget.h>
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -2,6 +2,7 @@
 // Distributed under the MIT/X11 software license, see the accompanying
 // file license.txt or http://www.opensource.org/licenses/mit-license.php.
 #include "headers.h"
+#include "strlcpy.h"
 
 using namespace std;
 using namespace boost;