fix includes for linux alloca

pull/271/head
Sean Barrett 2016-04-02 03:41:26 -07:00
parent 591c7f8cb3
commit 75c5908f95
1 changed files with 3 additions and 0 deletions

View File

@ -552,6 +552,9 @@ enum STBVorbisError
#include <math.h>
#if !(defined(__APPLE__) || defined(MACOSX) || defined(macintosh) || defined(Macintosh))
#include <malloc.h>
#if defined(__linux__) || defined(__linux)
#include <alloca.h>
#endif
#endif
#else // STB_VORBIS_NO_CRT
#define NULL 0