summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/c99_alloca.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/c99_alloca.h b/include/c99_alloca.h
index 575f719af87..ed66fda0132 100644
--- a/include/c99_alloca.h
+++ b/include/c99_alloca.h
@@ -35,6 +35,10 @@
# define alloca _alloca
+#elif defined(__sun)
+
+# include <alloca.h>
+
#else /* !defined(_MSC_VER) */
# include <stdlib.h>