diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-01-02 20:54:15 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-01-05 07:30:49 +0800 |
commit | 112144dc524b6f4df5c88ab067e899d858f6461d (patch) | |
tree | c081d0cfa320da22fff889dec58ed7dbc08883b6 /src/util/system.cpp | |
parent | 1a6a534665be410988785b0f2e09ef001a612d5c (diff) | |
download | bitcoin-112144dc524b6f4df5c88ab067e899d858f6461d.tar.xz |
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
Diffstat (limited to 'src/util/system.cpp')
-rw-r--r-- | src/util/system.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp index 3820006072..bbd7c9940a 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -64,6 +64,7 @@ #endif #include <thread> +#include <typeinfo> // Application startup time (used for uptime calculation) const int64_t nStartupTime = GetTime(); |