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 52e5cb743f..53aa470042 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 323547900d..674b5cf5bf 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 687e330fe0..8930214e76 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 42c8b07763..2b6711ca40 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 52d5eaaa50..88ceeadea4 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 d59ff3f75c..0ae10b6c39 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 faa543b412..a04596f7bb 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -8,6 +8,7 @@ #include #include +#include #include #include