From 8c06f971cc14dab53e279e85519f34c57c783338 Mon Sep 17 00:00:00 2001 From: David Smith Date: Fri, 13 Feb 2009 12:51:05 -0600 Subject: Fixed stack.c compile problems on systems with older kernels (like RHEL4). 2009-02-13 David Smith * stack.c: Fixed compile problems on systems with older kernels (like RHEL4). --- runtime/ChangeLog | 3 +++ runtime/stack.c | 2 ++ 2 files changed, 5 insertions(+) (limited to 'runtime') diff --git a/runtime/ChangeLog b/runtime/ChangeLog index ddad637f..2d5f2537 100644 --- a/runtime/ChangeLog +++ b/runtime/ChangeLog @@ -1,5 +1,8 @@ 2009-02-13 David Smith + * stack.c: Fixed compile problems on systems with older kernels + (like RHEL4). + * procfs.c: Added macros to guard against multiple inclusion. 2009-02-12 David Smith 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 #include +#endif static void _stp_stack_print_fallback(unsigned long, int, int); -- cgit