external/skia: Missing include

...at least when building with Visual Studio 2022 Preview 17.4.0,

> In file included from workdir/UnpackedTarball/skia/src/core/SkKeyHelpers.cpp:14:
> workdir/UnpackedTarball/skia\src/core/SkShaderCodeDictionary.h(45,43): error: no type named 'string' in namespace 'std'
>     using GenerateGlueCodeForEntry = std::string (*)(const std::string& resultName,
>                                      ~~~~~^

etc.

Change-Id: Idd8dafb4e57e04088ee60954ecfa601cc7588e55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141833
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2022-10-26 09:43:30 +02:00
parent 038c4a4283
commit 3e009159cd
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -39,6 +39,7 @@ skia_patches := \
vk_mem_alloc.patch.1 \
tdf148624.patch.1 \
constexpr-template.patch.0 \
missing-include.patch.0 \
$(eval $(call gb_UnpackedTarball_set_patchlevel,skia,1))
+10
View File
@@ -0,0 +1,10 @@
--- src/core/SkShaderCodeDictionary.h
+++ src/core/SkShaderCodeDictionary.h
@@ -9,6 +9,7 @@
#define SkShaderCodeDictionary_DEFINED
#include <array>
+#include <string>
#include <unordered_map>
#include <vector>
#include "include/core/SkSpan.h"