summaryrefslogtreecommitdiffstats
path: root/runtime/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stack.c')
-rw-r--r--runtime/stack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/stack.c b/runtime/stack.c
index dfc7f0d3..07315a90 100644
--- a/runtime/stack.c
+++ b/runtime/stack.c
@@ -25,6 +25,8 @@
#include "regs.h"
static int _stp_kta(unsigned long addr);
+#define MAXBACKTRACE 20
+
#if defined (__x86_64__)
#include "stack-x86_64.c"
#elif defined (__ia64__)