diff options
author | Richard Weinberger <richard@nod.at> | 2011-08-18 23:58:07 +0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 17:15:38 +0400 |
commit | 38b64aed786d59854ecc850ee5ece85b61dd252b (patch) | |
tree | 2205e2b20e0554f351890cde063e39d535faa123 /arch/x86 | |
parent | d0af6cbfa2eb675643cc651114364752e972900b (diff) | |
download | linux-38b64aed786d59854ecc850ee5ece85b61dd252b.tar.xz |
um: we need sys/user.h only on i386
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/um/os-Linux/registers.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <errno.h> #include <sys/ptrace.h> +#ifdef __i386__ #include <sys/user.h> +#endif #include "longjmp.h" #include "sysdep/ptrace_user.h" |