summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/add-missing-cstdint-header-to-fix-compile-with-gcc13.patch
blob: e39d801b5731b0a242f0c5d12b89f2231e6e523d (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
From 41d9b88b2edfcb9fee82ccfc68bd6030a282292c Mon Sep 17 00:00:00 2001
From: Anuj Mittal <anuj.mittal@intel.com>
Date: Tue, 30 May 2023 11:07:10 +0800
Subject: [PATCH] add missing cstdint header to fix compile with gcc13

Include the headers as per:
https://gcc.gnu.org/gcc-13/porting_to.html

Upstream-Status: Pending

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 opencl/test/unit_test/built_ins/built_ins_file_names.h      | 1 +
 shared/test/common/os_interface/linux/sys_calls_linux_ult.h | 1 +
 third_party/aot_config_headers/platforms.h                  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/opencl/test/unit_test/built_ins/built_ins_file_names.h b/opencl/test/unit_test/built_ins/built_ins_file_names.h
index 08dc38d406..e04f916e71 100644
--- a/opencl/test/unit_test/built_ins/built_ins_file_names.h
+++ b/opencl/test/unit_test/built_ins/built_ins_file_names.h
@@ -9,6 +9,7 @@
 
 #include <string>
 #include <vector>
+#include <cstdint>
 
 namespace NEO {
 std::vector<std::string> getBuiltInFileNames(bool imagesSupport);
diff --git a/shared/test/common/os_interface/linux/sys_calls_linux_ult.h b/shared/test/common/os_interface/linux/sys_calls_linux_ult.h
index f30d425abe..1bc78d3335 100644
--- a/shared/test/common/os_interface/linux/sys_calls_linux_ult.h
+++ b/shared/test/common/os_interface/linux/sys_calls_linux_ult.h
@@ -7,6 +7,7 @@
 
 #pragma once
 
+#include <cstdint>
 #include <dirent.h>
 #include <iostream>
 #include <poll.h>
diff --git a/third_party/aot_config_headers/platforms.h b/third_party/aot_config_headers/platforms.h
index 919e2714f2..ee82cb7ff2 100644
--- a/third_party/aot_config_headers/platforms.h
+++ b/third_party/aot_config_headers/platforms.h
@@ -7,6 +7,7 @@
 
 #include <map>
 #include <string>
+#include <cstdint>
 
 #pragma once
 
-- 
2.34.1