More Windows fixes: include malloc.h for alloca() support. trunk
authorRyan C. Gordon <icculus@icculus.org>
Wed, 30 Apr 2008 01:53:35 -0400
branchtrunk
changeset 260 5b5fc8c5661b
parent 259 68ba103e17e4
child 261 929496882e30
More Windows fixes: include malloc.h for alloca() support.
finderrors.c
--- a/finderrors.c	Wed Apr 30 01:52:22 2008 -0400
+++ b/finderrors.c	Wed Apr 30 01:53:35 2008 -0400
@@ -23,6 +23,7 @@
 #ifdef _MSC_VER
 #define WIN32_LEAN_AND_MEAN 1
 #include <windows.h>
+#include <malloc.h>  // for alloca().
 #define snprintf _snprintf
 #else
 #include <dirent.h>