office-gobmx/external/skia/missing-include.patch.0
Stephan Bergmann 3e009159cd 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>
2022-10-26 09:43:30 +02:00

10 lines
250 B
Text

--- 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"