diff --git a/src/httpserver.cpp b/src/httpserver.cpp index 81a4d57..3859a2f 100644 --- a/src/httpserver.cpp +++ b/src/httpserver.cpp @@ -23,6 +23,8 @@ #include #include + +#include #include #include #include diff --git a/src/init.cpp b/src/init.cpp index e27072c..bcc5c1e 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1628,13 +1628,13 @@ bool AppInitMain() // Either install a handler to notify us when genesis activates, or set fHaveGenesis directly. // No locking, as this happens before any background thread is started. if (chainActive.Tip() == nullptr) { - uiInterface.NotifyBlockTip.connect(BlockNotifyGenesisWait); + uiInterface.NotifyBlockTip.connect(&BlockNotifyGenesisWait); } else { fHaveGenesis = true; } if (gArgs.IsArgSet("-blocknotify")) - uiInterface.NotifyBlockTip.connect(BlockNotifyCallback); + uiInterface.NotifyBlockTip.connect(&BlockNotifyCallback); std::vector vImportFiles; for (const std::string& strFile : gArgs.GetArgs("-loadblock")) { @@ -1652,7 +1652,7 @@ bool AppInitMain() while (!fHaveGenesis && !ShutdownRequested()) { condvar_GenesisWait.wait_for(lock, std::chrono::milliseconds(500)); } - uiInterface.NotifyBlockTip.disconnect(BlockNotifyGenesisWait); + uiInterface.NotifyBlockTip.disconnect(&BlockNotifyGenesisWait); } if (ShutdownRequested()) { diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 371da58..13828df 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -29,7 +29,7 @@ #include #include #include - +#include #include #if defined(NDEBUG) diff --git a/src/support/lockedpool.cpp b/src/support/lockedpool.cpp index eae96e1..5cb93e8 100644 --- a/src/support/lockedpool.cpp +++ b/src/support/lockedpool.cpp @@ -4,7 +4,7 @@ #include #include - +#include #if defined(HAVE_CONFIG_H) #include #endif diff --git a/src/test/cuckoocache_tests.cpp b/src/test/cuckoocache_tests.cpp index 51ebfc3..4eac70f 100644 --- a/src/test/cuckoocache_tests.cpp +++ b/src/test/cuckoocache_tests.cpp @@ -1,6 +1,7 @@ // Copyright (c) 2012-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +#include #include #include #include