summaryrefslogtreecommitdiff
path: root/src/libspeex
diff options
context:
space:
mode:
Diffstat (limited to 'src/libspeex')
-rw-r--r--src/libspeex/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libspeex/config.h b/src/libspeex/config.h
index abd35f09..e6657fc0 100644
--- a/src/libspeex/config.h
+++ b/src/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 */