[test-paint] Fix build without FreeType

Fixes https://github.com/harfbuzz/harfbuzz/issues/4103
This commit is contained in:
Behdad Esfahbod 2023-02-04 10:16:11 -07:00
parent b5c68c1cf3
commit 474b99d122
1 changed files with 1 additions and 1 deletions

View File

@ -33,6 +33,7 @@
#if (FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH) >= 21300 #if (FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH) >= 21300
#include FT_COLOR_H #include FT_COLOR_H
#endif #endif
#endif
static inline hb_bool_t static inline hb_bool_t
have_ft_colrv1 (void) have_ft_colrv1 (void)
@ -43,7 +44,6 @@ have_ft_colrv1 (void)
return FALSE; return FALSE;
#endif #endif
} }
#endif
/* Unit tests for hb-paint.h */ /* Unit tests for hb-paint.h */