dc08ac951d
Fixes: http://autobuild.buildroot.net/results/8ac/8aceefdb71814c48163d7b171783172b6e1fdf27/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
49 lines
1.2 KiB
Diff
49 lines
1.2 KiB
Diff
From 339a95b7537b47e5d6b732c0633a00afd96e3ca0 Mon Sep 17 00:00:00 2001
|
|
From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>
|
|
Date: Thu, 19 Jan 2023 19:35:43 +0100
|
|
Subject: [PATCH] Add missing includes to fix gcc-13 compile error
|
|
|
|
Upstream: https://github.com/bitcoin/bitcoin/commit/fadeb6b103cb441e0e91ef506ef29febabb10715
|
|
|
|
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
|
---
|
|
src/support/lockedpool.cpp | 3 +++
|
|
src/support/lockedpool.h | 4 ++--
|
|
2 files changed, 5 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/support/lockedpool.cpp b/src/support/lockedpool.cpp
|
|
index 26de780f2..11131d551 100644
|
|
--- a/src/support/lockedpool.cpp
|
|
+++ b/src/support/lockedpool.cpp
|
|
@@ -22,6 +22,9 @@
|
|
#endif
|
|
|
|
#include <algorithm>
|
|
+#include <limits>
|
|
+#include <stdexcept>
|
|
+#include <utility>
|
|
#ifdef ARENA_DEBUG
|
|
#include <iomanip>
|
|
#include <iostream>
|
|
diff --git a/src/support/lockedpool.h b/src/support/lockedpool.h
|
|
index b9e2e99d1..25b4c0f36 100644
|
|
--- a/src/support/lockedpool.h
|
|
+++ b/src/support/lockedpool.h
|
|
@@ -5,11 +5,11 @@
|
|
#ifndef BITCOIN_SUPPORT_LOCKEDPOOL_H
|
|
#define BITCOIN_SUPPORT_LOCKEDPOOL_H
|
|
|
|
-#include <stdint.h>
|
|
+#include <cstddef>
|
|
#include <list>
|
|
#include <map>
|
|
-#include <mutex>
|
|
#include <memory>
|
|
+#include <mutex>
|
|
#include <unordered_map>
|
|
|
|
/**
|
|
--
|
|
2.39.2
|
|
|