From: Vegard Nossum Date: Fri, 13 Jun 2008 13:31:11 +0000 (+0200) Subject: stacktrace: add forward-declaration struct task_struct X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b618ad31bb2020db6a36929122e5554e33210d47;p=openwrt%2Fstaging%2Fblogic.git stacktrace: add forward-declaration struct task_struct This is needed if the header is to be free-standing. Signed-off-by: Vegard Nossum --- diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h index 551f6c7d5044..51efbef38fb0 100644 --- a/include/linux/stacktrace.h +++ b/include/linux/stacktrace.h @@ -4,6 +4,8 @@ struct task_struct; #ifdef CONFIG_STACKTRACE +struct task_struct; + struct stack_trace { unsigned int nr_entries, max_entries; unsigned long *entries;