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

Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
Richard Weinberger 2011-08-18 21:58:07 +02:00
parent d0af6cbfa2
commit 38b64aed78
1 changed files with 2 additions and 0 deletions

View File

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