diff options
author | David Smith <dsmith@redhat.com> | 2009-02-13 12:51:05 -0600 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-02-13 12:51:05 -0600 |
commit | 8c06f971cc14dab53e279e85519f34c57c783338 (patch) | |
tree | 76adfef27b5924161ca2fd327e20b57212f391be /runtime/stack.c | |
parent | 177bcaebf508bb86f06a4f7b0830096cf2f3acc5 (diff) | |
download | systemtap-steved-8c06f971cc14dab53e279e85519f34c57c783338.tar.gz systemtap-steved-8c06f971cc14dab53e279e85519f34c57c783338.tar.xz systemtap-steved-8c06f971cc14dab53e279e85519f34c57c783338.zip |
Fixed stack.c compile problems on systems with older kernels (like RHEL4).
2009-02-13 David Smith <dsmith@redhat.com>
* stack.c: Fixed compile problems on systems with older kernels
(like RHEL4).
Diffstat (limited to 'runtime/stack.c')
-rw-r--r-- | runtime/stack.c | 2 |
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); |