From 9b74c70d3d15a37a05de4757048c91e043828320 Mon Sep 17 00:00:00 2001 From: Oleg Girko Date: Thu, 6 Apr 2023 03:20:41 +0100 Subject: [PATCH] fix: Fix missing includes (#5295) The `` include is needed for `std::runtime_error` definition. The `` include is needed for `uint8_t` and `uint32_t` definition. ## Issue being fixed or feature implemented Compilation failure with GCC 13. GCC 13 is more strict about missing includes that were included indirectly by previous versions of GCC. ## What was done? Added missing includes. ## How Has This Been Tested? Successful compilation on Fedora 38 with GCC 13. All tests passed successfully. ## Breaking Changes None. ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation Signed-off-by: Oleg Girko Co-authored-by: Oleg Girko --- src/support/lockedpool.cpp | 1 + src/util/bip32.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/support/lockedpool.cpp b/src/support/lockedpool.cpp index bb27ba73a9694..3681824e6a030 100644 --- a/src/support/lockedpool.cpp +++ b/src/support/lockedpool.cpp @@ -23,6 +23,7 @@ #endif #include +#include #ifdef ARENA_DEBUG #include #include diff --git a/src/util/bip32.h b/src/util/bip32.h index fa1c0125f4492..80f81384fac5d 100644 --- a/src/util/bip32.h +++ b/src/util/bip32.h @@ -6,6 +6,7 @@ #define BITCOIN_UTIL_BIP32_H #include +#include #include #include