package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
303 B

diff --git a/src/cairo-colr-glyph-render.c b/src/cairo-colr-glyph-render.c
--- a/src/cairo-colr-glyph-render.c
+++ b/src/cairo-colr-glyph-render.c
@@ -43,6 +43,10 @@
#include <stdio.h>
#include <string.h>
+#ifdef _MSC_VER
+#include <malloc.h>
+#endif
+
#if HAVE_FT_COLR_V1
#include <ft2build.h>