diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-01-16 08:16:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-01-16 08:48:45 +0000 |
commit | 5877c6b118c99c9ec807a111471bfd67720a5086 (patch) | |
tree | 3e76d6b69dc2793bc3308a6bff368060414da1e6 /external | |
parent | d21260708b67c18cde3531ae565af833688d6f6a (diff) |
external/skia: Missing include
> In file included from workdir/UnpackedTarball/skia/third_party/vulkanmemoryallocator/GrVulkanMemoryAllocator.cpp:27:
> In file included from workdir/UnpackedTarball/skia/third_party/vulkanmemoryallocator/GrVulkanMemoryAllocator.h:35:
> workdir/UnpackedTarball/skia/third_party/vulkanmemoryallocator/include/vk_mem_alloc.h:2817:9: error: use of undeclared identifier 'snprintf'
> snprintf(outStr, strLen, "%u", static_cast<unsigned int>(num));
> ^
etc.
Change-Id: I4f13c8a137f23ef62d67c3b4dfa8f1c0ddfc5ec9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145552
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/skia/missing-include.patch.0 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/external/skia/missing-include.patch.0 b/external/skia/missing-include.patch.0 index 6b15e87590b5..5d1d0609b989 100644 --- a/external/skia/missing-include.patch.0 +++ b/external/skia/missing-include.patch.0 @@ -8,3 +8,13 @@ #include <unordered_map> #include <vector> #include "include/core/SkSpan.h" +--- third_party/vulkanmemoryallocator/include/vk_mem_alloc.h ++++ third_party/vulkanmemoryallocator/include/vk_mem_alloc.h +@@ -2570,6 +2570,7 @@ + #include <cstring>
+ #include <utility>
+ #include <type_traits>
++#include <stdio.h> +
+ #ifdef _MSC_VER
+ #include <intrin.h> // For functions like __popcnt, _BitScanForward etc.
|