fix to handle compiling debugging without CONFIG_FTRACE From: Clark Williams <williams@redhat.com> Signed-off-by: Clark Williams <williams@redhat.com> --- include/linux/ftrace.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 4c390ae..760d4cf 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h @@ -1,10 +1,11 @@ #ifndef _LINUX_FTRACE_H #define _LINUX_FTRACE_H +#include <linux/ktime.h> + #ifdef CONFIG_FTRACE #include <linux/linkage.h> -#include <linux/ktime.h> #include <linux/fs.h> extern int ftrace_enabled;