summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-xrt/xrt/xrt-202320.2.16.0/xrt-cstdint.patch
blob: 67ca68c629b93923f70fb8b95573cfbe63b20048 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
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>

diff --git a/src/runtime_src/core/common/time.h b/src/runtime_src/core/common/time.h
index a4a96b11d..585d38756 100644
--- a/src/runtime_src/core/common/time.h
+++ b/src/runtime_src/core/common/time.h
@@ -19,6 +19,7 @@
 
 #include "core/common/config.h"
 #include <string>
+#include <cstdint>
 
 namespace xrt_core {
 
diff --git 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
index 196304765..36ce35e80
--- 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
 {
diff --git a/src/runtime_src/core/edge/user/zynq_dev.h b/src/runtime_src/core/edge/user/zynq_dev.h
index 6fe36c615..2abd7473b 100644
--- 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:
diff --git a/src/runtime_src/tools/xclbinutil/CBOR.h b/src/runtime_src/tools/xclbinutil/CBOR.h
index 368459f59..acbf6ebae 100644
--- a/src/runtime_src/tools/xclbinutil/CBOR.h
+++ b/src/runtime_src/tools/xclbinutil/CBOR.h
@@ -22,6 +22,7 @@
 // #includes here - please keep these to a bare minimum!
 #include <string>
 #include <sstream>
+#include <cstdint>
 
 // ------------ F O R W A R D - D E C L A R A T I O N S ----------------------
 // Forward declarations - use these instead whenever possible...
diff --git a/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h b/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h
index 361015962..1c3bca18d 100644
--- a/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h
+++ b/src/runtime_src/tools/xclbinutil/DTCStringsBlock.h
@@ -19,6 +19,7 @@
 
 // ----------------------- I N C L U D E S -----------------------------------
 #include <sstream>
+#include <cstdint>
 #include <string>
 
 // ----------- C L A S S :   D T C S t r i n g s B l o c k -------------------
diff --git a/src/runtime_src/tools/xclbinutil/XclBinSignature.h b/src/runtime_src/tools/xclbinutil/XclBinSignature.h
index b19ab56a4..f1b72d4d2 100644
--- a/src/runtime_src/tools/xclbinutil/XclBinSignature.h
+++ b/src/runtime_src/tools/xclbinutil/XclBinSignature.h
@@ -18,6 +18,7 @@
 #define __XclBinSignature_h_
 
 #include <string>
+#include <cstdint>
 
 // ----------------------- I N C L U D E S -----------------------------------
 
diff --git a/src/runtime_src/xdp/profile/database/events/vtf_event.h b/src/runtime_src/xdp/profile/database/events/vtf_event.h
index f8d0121db..b5f36554c 100644
--- a/src/runtime_src/xdp/profile/database/events/vtf_event.h
+++ b/src/runtime_src/xdp/profile/database/events/vtf_event.h
@@ -19,6 +19,7 @@
 #define VTF_EVENT_DOT_H
 
 #include <fstream>
+#include <cstdint>
 
 #include "xdp/config.h"
 
diff --git a/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h b/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h
index 98c57de2e..6077bd247 100644
--- a/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h
+++ b/src/runtime_src/xdp/profile/device/aie_trace/aie_trace_logger.h
@@ -17,7 +17,8 @@
 #ifndef XDP_PROFILE_AIE_TRACE_LOGGER_H
 #define XDP_PROFILE_AIE_TRACE_LOGGER_H
 
-#include<iostream>
+#include <iostream>
+#include <cstdint>
 
 namespace xdp {
 
diff --git a/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h b/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h
index a88597464..f392ec0e6 100644
--- a/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h
+++ b/src/runtime_src/xdp/profile/writer/vp_base/vp_writer.h
@@ -19,6 +19,7 @@
 
 #include <fstream>
 #include <string>
+#include <cstdint>
 
 #include "xdp/config.h"