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: 4bdd68f301
This commit is contained in:
Wladimir J. van der Laan
2020-01-02 20:54:15 +01:00
committed by fanquake
parent 1a6a534665
commit 112144dc52
2 changed files with 2 additions and 0 deletions

View File

@@ -30,6 +30,7 @@
#include <util/validation.h>
#include <memory>
#include <typeinfo>
#if defined(NDEBUG)
# error "Bitcoin cannot be compiled without assertions."