summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Devoogdt <thomas@devoogdt.com>2023-11-12 09:58:05 +0100
committerThomas Devoogdt <thomas@devoogdt.com>2024-09-20 15:26:21 +0200
commit9607e19a9e4c1784e7b656772e1df82aea26f6e7 (patch)
tree96252b21e9b85d567cf1203478d814dcd34d1ff4
parentb9eed915f9a67380e7ef9d8746656455c43f67e2 (diff)
cairo-ft-private.h: fix missing FT_Color error
In file included from ../src/cairo-colr-glyph-render.c:37: ../src/cairo-ft-private.h:87:30: error: unknown type name 'FT_Color' 87 | FT_Color *palette, | ^~~~~~~~ Fixes https://gitlab.freedesktop.org/cairo/cairo/-/issues/792 Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
-rw-r--r--src/cairo-ft-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-ft-private.h b/src/cairo-ft-private.h
index 836f7e523..6b0e30223 100644
--- a/src/cairo-ft-private.h
+++ b/src/cairo-ft-private.h
@@ -43,6 +43,8 @@
#if CAIRO_HAS_FT_FONT
+#include FT_COLOR_H
+
CAIRO_BEGIN_DECLS
typedef struct _cairo_ft_unscaled_font cairo_ft_unscaled_font_t;