summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-05-21 06:32:11 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-21 16:55:58 -0700
commit3787fa6df5bb6e80b274ff805e10b6a9bfc4588c (patch)
tree82f7ba3ab8434929c72d7fc5fa5b352cd500aa70 /arch/um
parent296cd66f7f6e130fe08e6880ecb13c3fc615a8db (diff)
downloadop-kernel-dev-3787fa6df5bb6e80b274ff805e10b6a9bfc4588c.zip
op-kernel-dev-3787fa6df5bb6e80b274ff805e10b6a9bfc4588c.tar.gz
fix include order in sys-i386/registers.c
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/os-Linux/sys-i386/registers.c1
1 files changed, 1 insertions, 0 deletions
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"
OpenPOWER on IntegriCloud