From: Richard Weinberger Date: Fri, 12 Oct 2012 04:22:42 +0000 (+1100) Subject: linux/coredump.h needs asm/siginfo.h X-Git-Tag: next-20121016~2^2~71 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a719508e017c670eb7a11ca6623ccead6b6a0f7a;p=karo-tx-linux.git linux/coredump.h needs asm/siginfo.h commit 5ab1c30 ("coredump: pass siginfo_t* to do_coredump() and below, not merely signr") added siginfo_t to linux/coredump.h but forgot to include asm/siginfo.h. This breaks the build for UML/i386. (And any other arch where asm/siginfo.h is not magically preincluded...) In file included from arch/x86/um/elfcore.c:2:0: include/linux/coredump.h:15:25: error: unknown type name 'siginfo_t' make[1]: *** [arch/x86/um/elfcore.o] Error 1 Signed-off-by: Richard Weinberger Cc: Denys Vlasenko Cc: Oleg Nesterov Cc: Amerigo Wang Cc: "Jonathan M. Foote" Cc: Roland McGrath Cc: Pedro Alves Cc: Fengguang Wu Cc: Stephen Rothwell Signed-off-by: Andrew Morton --- diff --git a/include/linux/coredump.h b/include/linux/coredump.h index 1775eb8acc03..1d7399314a89 100644 --- a/include/linux/coredump.h +++ b/include/linux/coredump.h @@ -4,6 +4,7 @@ #include #include #include +#include /* * These are the only things you should do on a core-file: use only these