aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJordan Lewis <jordanthelewis@gmail.com>2011-05-15 17:08:35 -0500
committerJordan Lewis <jordanthelewis@gmail.com>2011-05-15 22:23:42 -0500
commitfdd7d047443b3f4ce1e4433ec28289a11ba4a94b (patch)
treed912771fcb7953408f36a581f390bbb09e368a7f /src
parentedd309e5373022f9737cb97b7f38872e46a53cd4 (diff)
downloadbitcoin-fdd7d047443b3f4ce1e4433ec28289a11ba4a94b.tar.xz
Only include strlcpy.h when we have to
Diffstat (limited to 'src')
-rw-r--r--src/headers.h1
-rw-r--r--src/init.cpp1
-rw-r--r--src/irc.cpp1
-rw-r--r--src/net.cpp1
-rw-r--r--src/util.cpp1
5 files changed, 4 insertions, 1 deletions
diff --git a/src/headers.h b/src/headers.h
index 3665e584f6..785d5bcf30 100644
--- 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"
diff --git a/src/init.cpp b/src/init.cpp
index 3eab8e1c8c..a94ea9b7b7 100644
--- 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;
diff --git a/src/irc.cpp b/src/irc.cpp
index 5c9e0a9602..a262eaba41 100644
--- 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;
diff --git a/src/net.cpp b/src/net.cpp
index 51d29022be..2d896271f1 100644
--- 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>
diff --git a/src/util.cpp b/src/util.cpp
index 4e93f625de..1b6ba016af 100644
--- 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;