Skip to content

Commit

Permalink
um: we need sys/user.h only on i386
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Weinberger <richard@nod.at>
  • Loading branch information
Richard Weinberger committed Nov 2, 2011
1 parent d0af6cb commit 38b64ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/x86/um/os-Linux/registers.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 38b64ae

Please sign in to comment.