From cd4387d9872fdab38de87a5ab8ffd8f5e3d92a33 Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Sat, 27 May 2006 22:49:09 +0000 Subject: [PATCH] Add malloc.h to get alloca() on mingw. Reported by "The Senator". --- libguile/filesys.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libguile/filesys.c b/libguile/filesys.c index fc1ec2738..8ac6bd246 100644 --- a/libguile/filesys.c +++ b/libguile/filesys.c @@ -45,6 +45,9 @@ char *alloca (); # endif # endif #endif +#if HAVE_MALLOC_H +#include /* alloca on mingw, though its not used on that system */ +#endif #include #include