summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/ChangeLog3
-rw-r--r--runtime/stack.c2
2 files changed, 5 insertions, 0 deletions
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 <dsmith@redhat.com>
+ * 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 <dsmith@redhat.com>
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);