Merge pull request #3381 from victorsk2019/1.21-dev-gcc13-headers

1.21-dev: fix for GCC13 compilation errors
This commit is contained in:
Old Dip Tracker 2023-11-25 14:39:47 +01:00 committed by GitHub
commit 4eea137ccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#include <support/lockedpool.h>
#include <support/cleanse.h>
#include <stdexcept>
#if defined(HAVE_CONFIG_H)
#include <config/bitcoin-config.h>

View File

@ -8,6 +8,7 @@
#include <attributes.h>
#include <string>
#include <vector>
#include <cstdint>
/** Parse an HD keypaths like "m/7/0'/2000". */
NODISCARD bool ParseHDKeypath(const std::string& keypath_str, std::vector<uint32_t>& keypath);

View File

@ -14,6 +14,7 @@
#include <sstream>
#include <string>
#include <vector>
#include <cstdint>
NODISCARD inline std::string TrimString(const std::string& str, const std::string& pattern = " \f\n\r\t\v")
{