summaryrefslogtreecommitdiff
path: root/addr2line.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-04 16:32:05 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-04 16:32:05 +0000
commita5305216bbc85595558e6dc50741a516b88ad5d2 (patch)
treef3670fe6ddda979fbb9fe5bc259e45f87d84eb5f /addr2line.c
parent917df93b0dd37f1bf69fc8633f47d1a0fdcaeaa2 (diff)
* addr2line.c: include <alloca.h> to fix a build issue on Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'addr2line.c')
-rw-r--r--addr2line.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/addr2line.c b/addr2line.c
index 68e38cdb7b..ea61c15054 100644
--- a/addr2line.c
+++ b/addr2line.c
@@ -24,6 +24,7 @@
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
+#include <alloca.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/types.h>