From a903a2f03e727db2023e0580af7e718166c08c6b Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 14 Sep 2009 16:41:48 +0000 Subject: [PATCH] Fixed use of alloca() in libspeex on Solaris, I think. Fixes Bugzilla #3938. --- code/libspeex/config.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/libspeex/config.h b/code/libspeex/config.h index abd35f09..e6657fc0 100644 --- a/code/libspeex/config.h +++ b/code/libspeex/config.h @@ -6,6 +6,9 @@ // SSE is enabled. #ifndef _USE_SSE # define USE_ALLOCA +# if defined(__sun) /* Solaris needs this for alloca(). */ +# define HAVE_ALLOCA_H +# endif #endif /* Default to floating point */