From 38b64aed786d59854ecc850ee5ece85b61dd252b Mon Sep 17 00:00:00 2001 From: Richard Weinberger Date: Thu, 18 Aug 2011 21:58:07 +0200 Subject: [PATCH] um: we need sys/user.h only on i386 Signed-off-by: Richard Weinberger --- arch/x86/um/os-Linux/registers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/um/os-Linux/registers.c b/arch/x86/um/os-Linux/registers.c index fa2e5a669e41..0cdbb86b012b 100644 --- a/arch/x86/um/os-Linux/registers.c +++ b/arch/x86/um/os-Linux/registers.c @@ -6,7 +6,9 @@ #include #include +#ifdef __i386__ #include +#endif #include "longjmp.h" #include "sysdep/ptrace_user.h" -- 2.39.5