diff options
| author | Jordan Lewis <[email protected]> | 2011-05-15 17:08:35 -0500 |
|---|---|---|
| committer | Jordan Lewis <[email protected]> | 2011-05-15 22:23:42 -0500 |
| commit | fdd7d047443b3f4ce1e4433ec28289a11ba4a94b (patch) | |
| tree | d912771fcb7953408f36a581f390bbb09e368a7f /src | |
| parent | Only include init.h when we have to (diff) | |
| download | discoin-fdd7d047443b3f4ce1e4433ec28289a11ba4a94b.tar.xz discoin-fdd7d047443b3f4ce1e4433ec28289a11ba4a94b.zip | |
Only include strlcpy.h when we have to
Diffstat (limited to 'src')
| -rw-r--r-- | src/headers.h | 1 | ||||
| -rw-r--r-- | src/init.cpp | 1 | ||||
| -rw-r--r-- | src/irc.cpp | 1 | ||||
| -rw-r--r-- | src/net.cpp | 1 | ||||
| -rw-r--r-- | src/util.cpp | 1 |
5 files changed, 4 insertions, 1 deletions
diff --git a/src/headers.h b/src/headers.h index 3665e584f..785d5bcf3 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 3eab8e1c8..a94ea9b7b 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 5c9e0a960..a262eaba4 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 51d29022b..2d896271f 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 4e93f625d..1b6ba016a 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; |