public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] UM: linux/coredump.h needs siginfo_t
@ 2012-10-15 13:10 David Howells
  2012-10-15 13:13 ` Richard Weinberger
  0 siblings, 1 reply; 2+ messages in thread
From: David Howells @ 2012-10-15 13:10 UTC (permalink / raw)
  To: jdike, richard; +Cc: rdunlap, dhowells, user-mode-linux-devel, linux-kernel

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-15 13:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15 13:10 [PATCH] UM: linux/coredump.h needs siginfo_t David Howells
2012-10-15 13:13 ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox