projects
/
platform
/
kernel
/
linux-amlogic.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
|
history
diff --git
a/arch/x86/um/os-Linux/registers.c
b/arch/x86/um/os-Linux/registers.c
index
fa2e5a6
..
0cdbb86
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"