drenderer: include alloca.h for Zephyr

Changes the conditional for to also include the alloca.h header in case
it is build for the zephyr rtos.
This commit is contained in:
faxe1008 2025-01-08 11:09:11 +01:00 committed by Hermet Park
parent e72b4e6a9b
commit 9a8173cc22
4 changed files with 4 additions and 3 deletions

View file

@ -38,3 +38,4 @@ Elliott Sales de Andrade <quantum.analyst@gmail.com>
Kelly Loh <kelly@lottiefiles.com>
Dragoș Tiselice <dragos@lottiefiles.com>
Marcin Baszczewski <marcin@baszczewski.pl>
Fabian Blatz <fabianblatz@gmail.com>

View file

@ -26,7 +26,7 @@
#ifdef _WIN32
#include <malloc.h>
#elif defined(__linux__)
#elif defined(__linux__) || defined(__ZEPHYR__)
#include <alloca.h>
#else
#include <stdlib.h>

View file

@ -23,7 +23,7 @@
#ifdef _WIN32
#include <malloc.h>
#elif defined(__linux__)
#elif defined(__linux__) || defined(__ZEPHYR__)
#include <alloca.h>
#else
#include <stdlib.h>

View file

@ -22,7 +22,7 @@
#ifdef _WIN32
#include <malloc.h>
#elif defined(__linux__)
#elif defined(__linux__) || defined(__ZEPHYR__)
#include <alloca.h>
#else
#include <stdlib.h>