]> err.no Git - linux-2.6/commitdiff
fix include order in sys-i386/registers.c
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 21 May 2008 05:32:11 +0000 (06:32 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 21 May 2008 23:55:58 +0000 (16:55 -0700)
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>
arch/um/os-Linux/sys-i386/registers.c

index c6183e7aec3d73cb2a4d0b70e27578b7a364afc1..b487cbead1bd396e02dabdeb92f10118bf2e75b4 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <errno.h>
+#include <sys/ptrace.h>
 #include <asm/user.h>
 #include "kern_constants.h"
 #include "longjmp.h"