summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-03-03 08:09:21 -0700
committerBrian Paul <brianp@vmware.com>2015-03-03 08:40:13 -0700
commit5ece2888769c2886b181d228ad447a8bca2ddee0 (patch)
tree47363a8bfe615ce9d6dde634a254d6fec5e0d675 /include
parent80c5bd7ef0319d14cd0362a763d9d15e9ba2c946 (diff)
c99_alloca.h: add case for __sun
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
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 575f719af8..ed66fda013 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>