From 112144dc524b6f4df5c88ab067e899d858f6461d Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Thu, 2 Jan 2020 20:54:15 +0100 Subject: [PATCH] Add missing typeinfo includes The use of `typeid()` for logging exception types requires this include according to https://en.cppreference.com/w/cpp/language/typeid. Github-Pull: #17762 Rebased-From: 4bdd68f301a9cee3360deafc7531c638e923226b --- src/net_processing.cpp | 1 + src/util/system.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/net_processing.cpp b/src/net_processing.cpp index b57cb2f30..3d0efa041 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -30,6 +30,7 @@ #include #include +#include #if defined(NDEBUG) # error "Bitcoin cannot be compiled without assertions." diff --git a/src/util/system.cpp b/src/util/system.cpp index 382000607..bbd7c9940 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -64,6 +64,7 @@ #endif #include +#include // Application startup time (used for uptime calculation) const int64_t nStartupTime = GetTime();