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 25d0817d..2a133398 100644
--- a/runtime/stack.c
+++ b/runtime/stack.c
@@ -27,8 +27,10 @@
#define MAXBACKTRACE 20
+#ifdef CONFIG_STACKTRACE
#include <linux/stacktrace.h>
#include <asm/stacktrace.h>
+#endif
static void _stp_stack_print_fallback(unsigned long, int, int);