Include <cstdint> to fix these compilation errors:
../../src/sksl/SkSLString.h:124:18: error: unknown type name 'uint32_t'
124 | String to_string(uint32_t value);
| ^
../../src/sksl/SkSLString.h:128:18: error: unknown type name 'uint64_t'
128 | String to_string(uint64_t value);
| ^
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853>
13 lines
276 B
Diff
13 lines
276 B
Diff
diff --git a/src/sksl/SkSLString.h b/src/sksl/SkSLString.h
|
|
index b3e411e..257a1ed 100644
|
|
--- a/src/sksl/SkSLString.h
|
|
+++ b/src/sksl/SkSLString.h
|
|
@@ -8,6 +8,7 @@
|
|
#ifndef SKSL_STRING
|
|
#define SKSL_STRING
|
|
|
|
+#include <cstdint>
|
|
#include <cstring>
|
|
|
|
#define SKSL_USE_STD_STRING
|