From: Jordan Lewis Date: Sun, 15 May 2011 22:08:35 +0000 (-0500) Subject: Only include strlcpy.h when we have to X-Git-Tag: v0.4.0-unstable~234^2~32^2~2 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=fdd7d047443b3f4ce1e4433ec28289a11ba4a94b;hp=edd309e5373022f9737cb97b7f38872e46a53cd4;p=novacoin.git Only include strlcpy.h when we have to --- diff --git a/src/headers.h b/src/headers.h index 3665e58..785d5bc 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 3eab8e1..a94ea9b 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 5c9e0a9..a262eab 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 51d2902..2d89627 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 diff --git a/src/util.cpp b/src/util.cpp index 4e93f62..1b6ba01 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;