* [PATCH] fix include order in sys-i386/registers.c
@ 2008-05-16 21:00 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2008-05-16 21:00 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Jeff Dike, linux-kernel
We want sys/ptrace.h before any includes of linux/ptrace.h and
asm/user.h pulls the latter.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Jeff Dike <jdike@addtoit.com>
---
diff --git a/arch/um/os-Linux/sys-i386/registers.c b/arch/um/os-Linux/sys-i386/registers.c
index c6183e7..b487cbe 100644
--- a/arch/um/os-Linux/sys-i386/registers.c
+++ b/arch/um/os-Linux/sys-i386/registers.c
@@ -5,6 +5,7 @@
*/
#include <errno.h>
+#include <sys/ptrace.h>
#include <asm/user.h>
#include "kern_constants.h"
#include "longjmp.h"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-16 21:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-16 21:00 [PATCH] fix include order in sys-i386/registers.c Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®