um: we need sys/user.h only on i386
authorRichard Weinberger <richard@nod.at>
Thu, 18 Aug 2011 19:58:07 +0000 (21:58 +0200)
committerRichard Weinberger <richard@nod.at>
Wed, 2 Nov 2011 13:15:38 +0000 (14:15 +0100)
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/x86/um/os-Linux/registers.c

index fa2e5a669e419fc238add06bbf63fcb94555b89b..0cdbb86b012bf15249ca623d8685e8d899e933a6 100644 (file)
@@ -6,7 +6,9 @@
 
 #include <errno.h>
 #include <sys/ptrace.h>
+#ifdef __i386__
 #include <sys/user.h>
+#endif
 #include "longjmp.h"
 #include "sysdep/ptrace_user.h"