[PATCH] UM: linux/coredump.h needs siginfo_t

David Howells
2012-10-15T13:10:59Z

linux/coredump.h should #include asm/siginfo.h for the siginfo_t type.

Without this the following error occurs when compiling UM defconfig:

include/linux/coredump.h:15:25: error: unknown type name 'siginfo_t'

Signed-off-by: David Howells <dhowells@redhat.com>
---

include/linux/coredump.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/coredump.h b/include/linux/coredump.h
index 1775eb8..1d73993 100644
--- a/include/linux/coredump.h
+++ b/include/linux/coredump.h
@@ -4,6 +4,7 @@
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/fs.h>
+#include <asm/siginfo.h>

/*
* These are the only things you should do on a core-file: use only these