From: Vegard Nossum Date: Fri, 13 Jun 2008 13:31:11 +0000 (+0200) Subject: stacktrace: add forward-declaration struct task_struct X-Git-Tag: v2.6.31-rc1~303^2~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b618ad31bb2020db6a36929122e5554e33210d47;p=thirdparty%2Flinux.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 551f6c7d50443..51efbef38fb0e 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;