aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem/0001-include-missing-cstdint.patch
blob: 0560daa4c24dca753f706be5e7797ab8ce388806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 84e884f99e581515b49d8973538bb17e1e6c0dc0 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 26 Jan 2023 20:45:57 -0800
Subject: [PATCH] include missing <cstdint>

gcc 13 moved some includes around and as a result <cstdint> is no
longer transitively included [1]. Explicitly include it for
uint{32,64}_t.

[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Upstream-Status: Submitted [https://github.com/tomba/rwmem/pull/7]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 librwmem/helpers.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/librwmem/helpers.h b/librwmem/helpers.h
index a0a738b..8d02c9c 100644
--- a/librwmem/helpers.h
+++ b/librwmem/helpers.h
@@ -1,6 +1,7 @@
 #pragma once
 
 #include <cerrno>
+#include <cstdint>
 #include <string>
 #include <vector>
 #include <string.h>
-- 
2.39.1