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 fa2e5a6..0cdbb86 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"