From 2c8f9e6976152a06bcbdb714d93027afd919987e Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Tue, 27 May 2008 12:52:41 +0000 Subject: [PATCH] need includes for alloca [r19794] --- ir/be/test/langshootout/spectral-norm.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ir/be/test/langshootout/spectral-norm.c b/ir/be/test/langshootout/spectral-norm.c index 34661eb8d..61bb3b156 100644 --- a/ir/be/test/langshootout/spectral-norm.c +++ b/ir/be/test/langshootout/spectral-norm.c @@ -9,6 +9,14 @@ #include #include #include +/* Includes for alloca() */ +#if defined(__FreeBSD__) +#include +#elif defined(_WIN32) +#include +#else +#include +#endif double eval_A(int i, int j) { return 1.0/((i+j)*(i+j+1)/2+i+1); } -- 2.20.1