projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0af6cb
)
um: we need sys/user.h only on i386
author
Richard Weinberger
<richard@nod.at>
Thu, 18 Aug 2011 19:58:07 +0000
(21:58 +0200)
committer
Richard 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/um/os-Linux/registers.c
b/arch/x86/um/os-Linux/registers.c
index fa2e5a669e419fc238add06bbf63fcb94555b89b..0cdbb86b012bf15249ca623d8685e8d899e933a6 100644
(file)
--- 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"