added import in order for alloca to work on macos

This commit is contained in:
Jona Ekenberg 2021-04-06 21:18:48 +02:00
parent b2545e053a
commit c2206e7461

View File

@ -570,7 +570,7 @@ enum STBVorbisError
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <malloc.h>
#endif
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__)
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) || defined(__APPLE__)
#include <alloca.h>
#endif
#else // STB_VORBIS_NO_CRT