Skip to content

Commit 86ea3c2

Browse files
committed
Merge #10181: Include cleanup
1c897fc Missing includes (Jorge Timón) a1fd450 Trivial: Remove unneeded includes from .h: (Jorge Timón) Tree-SHA512: ada3e62cc2435e58172a88b380be371b717a05725956c15e5493b6e19fe2903e5e6e43fd22dc24699333a0e8a0c7b42eb1ae61b41cb4ba82495be18e2d4ef3c6
2 parents 14c9489 + 1c897fc commit 86ea3c2

File tree

11 files changed

+10
-3
lines changed

11 files changed

+10
-3
lines changed

src/checkqueue.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
#ifndef BITCOIN_CHECKQUEUE_H
66
#define BITCOIN_CHECKQUEUE_H
77

8+
#include "sync.h"
9+
810
#include <algorithm>
911
#include <vector>
1012

src/coins.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#ifndef BITCOIN_COINS_H
77
#define BITCOIN_COINS_H
88

9+
#include "primitives/transaction.h"
910
#include "compressor.h"
1011
#include "core_memusage.h"
1112
#include "hash.h"

src/net.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "amount.h"
1212
#include "bloom.h"
1313
#include "compat.h"
14-
#include "fs.h"
1514
#include "hash.h"
1615
#include "limitedmap.h"
1716
#include "netaddress.h"
@@ -36,7 +35,6 @@
3635
#include <boost/foreach.hpp>
3736
#include <boost/signals2/signal.hpp>
3837

39-
class CAddrMan;
4038
class CScheduler;
4139
class CNode;
4240

src/policy/policy.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "policy/policy.h"
99

1010
#include "validation.h"
11+
#include "coins.h"
1112
#include "tinyformat.h"
1213
#include "util.h"
1314
#include "utilstrencodings.h"

src/qt/clientmodel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "guiutil.h"
1010
#include "peertablemodel.h"
1111

12+
#include "chain.h"
1213
#include "chainparams.h"
1314
#include "checkpoints.h"
1415
#include "clientversion.h"

src/qt/walletmodel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include "transactiontablemodel.h"
1414

1515
#include "base58.h"
16+
#include "chain.h"
1617
#include "keystore.h"
1718
#include "validation.h"
1819
#include "net.h" // for g_connman

src/rpc/misc.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

66
#include "base58.h"
7+
#include "chain.h"
78
#include "clientversion.h"
89
#include "init.h"
910
#include "validation.h"

src/validation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include "validation.h"
77

88
#include "arith_uint256.h"
9+
#include "chain.h"
910
#include "chainparams.h"
1011
#include "checkpoints.h"
1112
#include "checkqueue.h"

src/validation.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#endif
1212

1313
#include "amount.h"
14-
#include "chain.h"
1514
#include "coins.h"
1615
#include "fs.h"
1716
#include "protocol.h" // For CMessageHeader::MessageStartChars

src/wallet/rpcwallet.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "consensus/validation.h"
1010
#include "core_io.h"
1111
#include "init.h"
12+
#include "wallet/coincontrol.h"
1213
#include "validation.h"
1314
#include "net.h"
1415
#include "policy/fees.h"

0 commit comments

Comments
 (0)