From fa77fdd0475fa15a1a3641c5d5a2bf7ad095aa84 Mon Sep 17 00:00:00 2001 From: MacroFake Date: Tue, 19 Jul 2022 14:15:31 +0200 Subject: [PATCH] Add missing includes They are needed, otherwise the next commit will not compile --- src/bench/checkblock.cpp | 1 + src/index/base.cpp | 1 + src/index/coinstatsindex.cpp | 1 + src/qt/optionsdialog.cpp | 1 + src/rpc/blockchain.cpp | 1 + src/rpc/mempool.cpp | 1 + src/txdb.h | 1 + 7 files changed, 7 insertions(+) diff --git a/src/bench/checkblock.cpp b/src/bench/checkblock.cpp index 52e5cb743fb..53aa470042b 100644 --- a/src/bench/checkblock.cpp +++ b/src/bench/checkblock.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include // These are the two major time-sinks which happen after we have fully received diff --git a/src/index/base.cpp b/src/index/base.cpp index 323547900d1..674b5cf5bfe 100644 --- a/src/index/base.cpp +++ b/src/index/base.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include // For g_chainman diff --git a/src/index/coinstatsindex.cpp b/src/index/coinstatsindex.cpp index 687e330fe0b..8930214e765 100644 --- a/src/index/coinstatsindex.cpp +++ b/src/index/coinstatsindex.cpp @@ -10,6 +10,7 @@ #include #include #include +#include #include using kernel::CCoinsStats; diff --git a/src/qt/optionsdialog.cpp b/src/qt/optionsdialog.cpp index 42c8b077632..2b6711ca406 100644 --- a/src/qt/optionsdialog.cpp +++ b/src/qt/optionsdialog.cpp @@ -19,6 +19,7 @@ #include // for DEFAULT_SCRIPTCHECK_THREADS and MAX_SCRIPTCHECK_THREADS #include #include // for -dbcache defaults +#include #include diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 52d5eaaa508..88ceeadea4c 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include diff --git a/src/rpc/mempool.cpp b/src/rpc/mempool.cpp index d59ff3f75c5..0ae10b6c39e 100644 --- a/src/rpc/mempool.cpp +++ b/src/rpc/mempool.cpp @@ -20,6 +20,7 @@ #include #include #include +#include using kernel::DumpMempool; diff --git a/src/txdb.h b/src/txdb.h index faa543b4120..a04596f7bbe 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -8,6 +8,7 @@ #include #include +#include #include #include