summaryrefslogtreecommitdiff
path: root/riscv-angle.patch
blob: f4746988a4a74dd2e0f131a403256c284f0a6dba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: chromium-115.0.5790.98/third_party/angle/src/common/platform.h
===================================================================
--- chromium-115.0.5790.98.orig/third_party/angle/src/common/platform.h
+++ chromium-115.0.5790.98/third_party/angle/src/common/platform.h
@@ -108,7 +108,7 @@
 #endif
 
 // Mips and arm devices need to include stddef for size_t.
-#if defined(__mips__) || defined(__arm__) || defined(__aarch64__)
+#if defined(__mips__) || defined(__arm__) || defined(__aarch64__) || defined(__riscv)
 #    include <stddef.h>
 #endif