aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/sedutil/files/0001-include-missing-cstdint.patch
blob: 8afcb1fa4810150be6d98db210fb8da3659681a7 (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 927cd88cad7bea94c2eebecc18f7881f0defaccb Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 26 Jan 2023 23:36:29 -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/Drive-Trust-Alliance/sedutil/pull/425]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 Common/DtaOptions.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Common/DtaOptions.h b/Common/DtaOptions.h
index c012af1..7530a0b 100644
--- a/Common/DtaOptions.h
+++ b/Common/DtaOptions.h
@@ -21,6 +21,7 @@ along with sedutil.  If not, see <http://www.gnu.org/licenses/>.
 #ifndef _DTAOPTIONS_H
 #define	_DTAOPTIONS_H
 
+#include <cstdint>
 /** Output modes */
 typedef enum _sedutiloutput {
 	sedutilNormal,
-- 
2.39.1