aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-01-20 11:55:29 +0000
committerfanquake <fanquake@gmail.com>2023-01-20 12:19:25 +0000
commitea584a617c6853eb1f9740600cd9db75d77948eb (patch)
tree6ac61e931a6b2f09b3cc752ff0e4314a5489becc
parentc21e6a9ce210e0b0d1f4081ebd5dfefbe3c7af2d (diff)
23.x Add missing includes to fix gcc-13 compile error
Additional include fixes are required to make the 23.x branch compile using GCC 13. Github-Pull: #26921 Rebased-From: af862661654966d5de614755ab9bd1b5913e0959
-rw-r--r--src/util/bip32.h1
-rw-r--r--src/util/string.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/util/bip32.h b/src/util/bip32.h
index 8f86f2aaa6..b1d53616a4 100644
--- a/src/util/bip32.h
+++ b/src/util/bip32.h
@@ -6,6 +6,7 @@
#define BITCOIN_UTIL_BIP32_H
#include <attributes.h>
+#include <cstdint>
#include <string>
#include <vector>
diff --git a/src/util/string.h b/src/util/string.h
index b26facc502..ca53c7ce43 100644
--- a/src/util/string.h
+++ b/src/util/string.h
@@ -9,6 +9,7 @@
#include <algorithm>
#include <array>
+#include <cstdint>
#include <cstring>
#include <locale>
#include <sstream>