summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-xrt/xrt/xrt-202410.2.17.319/xrt-cstdint.patch
blob: b83c5ef79164be4c669107927372a29f88bc445f (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
Add cstdint as necessary

In GCC 13.1 usage of uint64 and similar will result in an error without
 #include <cstdint>

Signed-off-by: Mark Hatle <mark.hatle@amd.com>

Index: src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h
===================================================================
--- a/src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h
+++ b/src/runtime_src/core/edge/user/aie/common_layer/adf_api_config.h
@@ -18,6 +18,7 @@
 
 #include <string>
 #include <vector>
+#include <cstdint>
 
 namespace adf
 {
Index: src/runtime_src/core/edge/user/zynq_dev.h
===================================================================
--- a/src/runtime_src/core/edge/user/zynq_dev.h
+++ b/src/runtime_src/core/edge/user/zynq_dev.h
@@ -19,6 +19,7 @@
 #include <fstream>
 #include <string>
 #include <vector>
+#include <cstdint>
 
 class zynq_device {
 public: