summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-03-20 15:57:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-03-20 21:54:21 +0100
commit2b55c6f128990763a81610d812a8a799b7f090d0 (patch)
tree076a5eb5f810a0355a9d6d69fea7c18d4736674c /external
parent5b071c10d36371d1f9ce14ab13230bfd703d0245 (diff)
Missing include (Windows --disable-pch; for HFONT)
Change-Id: Ia1dcd0d6b9f66517a6c2fe0186ed77e007677261 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90800 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external')
-rw-r--r--external/skia/windows-hfont-typeface.patch.011
1 files changed, 10 insertions, 1 deletions
diff --git a/external/skia/windows-hfont-typeface.patch.0 b/external/skia/windows-hfont-typeface.patch.0
index 459595a7b3d6..e4dff5f34a52 100644
--- a/external/skia/windows-hfont-typeface.patch.0
+++ b/external/skia/windows-hfont-typeface.patch.0
@@ -1,6 +1,15 @@
--- ./include/ports/SkTypeface_win.h.sav 2019-09-19 11:38:00.943185300 +0200
+++ ./include/ports/SkTypeface_win.h 2020-03-16 15:11:38.347067100 +0100
-@@ -28,6 +28,8 @@
+@@ -11,6 +11,8 @@
+ #include "include/core/SkTypeface.h"
+ #include "include/core/SkTypes.h"
+
++#include <windows.h>
++
+ #ifdef SK_BUILD_FOR_WIN
+
+ #ifdef UNICODE
+@@ -28,6 +30,8 @@
*/
SK_API SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT&);