diff --git a/src/httpserver.cpp b/src/httpserver.cpp index 36db530c82b8..974c02bd3c5a 100644 --- a/src/httpserver.cpp +++ b/src/httpserver.cpp @@ -37,6 +37,8 @@ #endif #endif +#include + /** Maximum size of http request (request line + headers) */ static const size_t MAX_HEADERS_SIZE = 8192; diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 34b65b7b8786..6b73fa3ea913 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -33,6 +33,8 @@ #include #include +using namespace boost::placeholders; + // For getting the latest WithdrawalBundle hash // TODO make the latest WithdrawalBundle hash get set in the client model or somewhere else // instead of looking it up here. diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index cfe514aae6e3..9433a58448ab 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -25,6 +25,8 @@ #include #include +using namespace boost::placeholders; + class CBlockIndex; static int64_t nLastHeaderTipUpdateNotification = 0; diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index 5df1282f73b3..b1d6d3fe93a0 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -26,6 +26,8 @@ #include #include +using namespace boost::placeholders; + SplashScreen::SplashScreen(Qt::WindowFlags f, const NetworkStyle *networkStyle) : QWidget(0, f), curAlignment(0) { diff --git a/src/qt/trafficgraphwidget.cpp b/src/qt/trafficgraphwidget.cpp index f869799462fe..ca8bde663e6e 100644 --- a/src/qt/trafficgraphwidget.cpp +++ b/src/qt/trafficgraphwidget.cpp @@ -5,6 +5,7 @@ #include #include +#include #include #include #include diff --git a/src/qt/trafficgraphwidget.h b/src/qt/trafficgraphwidget.h index 00660574af8f..397e716b5297 100644 --- a/src/qt/trafficgraphwidget.h +++ b/src/qt/trafficgraphwidget.h @@ -7,6 +7,7 @@ #include #include +#include class ClientModel; diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index 9357ec2c1194..d3da37cce532 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -26,6 +26,8 @@ #include #include +using namespace boost::placeholders; + static int column_alignments[] = { Qt::AlignHCenter|Qt::AlignVCenter, /* # Confs */ Qt::AlignLeft|Qt::AlignVCenter, /* date */ diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index 34954a6bfa98..df85e292e721 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -36,6 +36,7 @@ #include #include +using namespace boost::placeholders; WalletModel::WalletModel(const PlatformStyle *platformStyle, CWallet *_wallet, OptionsModel *_optionsModel, QObject *parent) : QObject(parent), wallet(_wallet), optionsModel(_optionsModel), addressTableModel(0), diff --git a/src/validation.cpp b/src/validation.cpp index fd66a7e9fa9b..4168b3df58f5 100755 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -53,6 +53,8 @@ #include #include +using namespace boost::placeholders; + #if defined(NDEBUG) # error "Bitcoin cannot be compiled without assertions." #endif diff --git a/src/validationinterface.cpp b/src/validationinterface.cpp index 71b84d928d70..76020a8d7771 100644 --- a/src/validationinterface.cpp +++ b/src/validationinterface.cpp @@ -19,6 +19,8 @@ #include +using namespace boost::placeholders; + struct MainSignalsInstance { boost::signals2::signal UpdatedBlockTip; boost::signals2::signal TransactionAddedToMempool;