Files
mesa/.gitlab-ci/container/patches/build-skqp_include_cstdint.patch
Valentine Burley 5c59ec4d85 ci/skqp: Add missing include to fix compilation errors on Debian 13
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>
2025-09-16 06:16:20 +00:00

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