Browse Source

um: we need sys/user.h only on i386

Signed-off-by: Richard Weinberger <richard@nod.at>
Richard Weinberger 14 years ago
parent
commit
38b64aed78
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/x86/um/os-Linux/registers.c

+ 2 - 0
arch/x86/um/os-Linux/registers.c

@@ -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"