Include malloc.h for alloca for MinGW

Newer versions of MinGW do not seem to require this, but older
ones do.
This commit is contained in:
dhewg 2012-01-07 15:31:21 +01:00 committed by Daniel Gibson
parent 7d5c0e1fd7
commit d0846bdae8

View file

@ -189,6 +189,9 @@ If you have questions concerning this license or the applicable additional terms
// MSVC does not provide this C99 header
#include <inttypes.h>
#endif
#if defined(__MINGW32__)
#include <malloc.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>