Merge branch 'alloca' into 'master'

Fix alloca undefined on Solaris

See merge request cairo/cairo!540
This commit is contained in:
Tim-Philipp Müller 2024-04-16 00:36:42 +00:00
commit 3e12dfda3c
2 changed files with 5 additions and 0 deletions

View file

@ -135,6 +135,7 @@ check_headers = [
['xlocale.h'],
['sys/ioctl.h'],
['intsafe.h'],
['alloca.h'],
]
check_types = [

View file

@ -47,6 +47,10 @@
#include <malloc.h>
#endif
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
#if HAVE_FT_COLR_V1
#include <ft2build.h>