Browse Source

Only include strlcpy.h when we have to

miguelfreitas
Jordan Lewis 14 years ago
parent
commit
fdd7d04744
  1. 1
      src/headers.h
  2. 1
      src/init.cpp
  3. 1
      src/irc.cpp
  4. 1
      src/net.cpp
  5. 1
      src/util.cpp

1
src/headers.h

@ -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"

1
src/init.cpp

@ -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;

1
src/irc.cpp

@ -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;

1
src/net.cpp

@ -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>

1
src/util.cpp

@ -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;

Loading…
Cancel
Save