mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 19:18:12 +02:00
Fix alloca undefined with MSVC
Conditionally includes malloc.h when compiling with MSVC so that alloca is defined.
This commit is contained in:
parent
459d19ef15
commit
27cdee5e4c
1 changed files with 4 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue