summaryrefslogtreecommitdiffstats
path: root/swiftshader-add-cstdint-for-uint64_t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'swiftshader-add-cstdint-for-uint64_t.patch')
-rw-r--r--swiftshader-add-cstdint-for-uint64_t.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/swiftshader-add-cstdint-for-uint64_t.patch b/swiftshader-add-cstdint-for-uint64_t.patch
new file mode 100644
index 0000000..2b1d1b0
--- /dev/null
+++ b/swiftshader-add-cstdint-for-uint64_t.patch
@@ -0,0 +1,28 @@
+From 3ecab9c1aa60d548d8efeae3a231f4df7cca6cc7 Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09@googlemail.com>
+Date: Sun, 2 Apr 2023 20:53:20 +0200
+Subject: [PATCH] IWYU: add cstdint for uint64_t in sw::LRUCache
+
+Bug: chromium:957519
+Change-Id: I70970ceda50dfc38f3d149fea03e8a6a79a35934
+Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/71268
+Commit-Queue: Shahbaz Youssefi <syoussefi@google.com>
+Reviewed-by: Shahbaz Youssefi <syoussefi@google.com>
+Kokoro-Result: kokoro <noreply+kokoro@google.com>
+Tested-by: Shahbaz Youssefi <syoussefi@google.com>
+---
+ src/System/LRUCache.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/System/LRUCache.hpp b/src/System/LRUCache.hpp
+index 1c244906441..a04cdfafbc0 100644
+--- a/src/System/LRUCache.hpp
++++ b/src/System/LRUCache.hpp
+@@ -18,6 +18,7 @@
+ #include "System/Debug.hpp"
+
+ #include <cstddef>
++#include <cstdint>
+ #include <functional>
+ #include <unordered_set>
+ #include <vector>