summaryrefslogtreecommitdiffstats
path: root/kmtrace/ktrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kmtrace/ktrace.c')
-rw-r--r--kmtrace/ktrace.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/kmtrace/ktrace.c b/kmtrace/ktrace.c
index e7eee47b..dcc321e5 100644
--- a/kmtrace/ktrace.c
+++ b/kmtrace/ktrace.c
@@ -25,6 +25,10 @@
or (US mail) as Mike Haertel c/o Free Software Foundation.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define MALLOC_HOOKS
#define _GNU_SOURCE
@@ -35,8 +39,8 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include <execinfo.h>
#include <unistd.h>
+#include BACKTRACE_H
#ifdef USE_IN_LIBIO
# include <libio/iolibio.h>