Skip to content

Commit

Permalink
fix include order in sys-i386/registers.c
Browse files Browse the repository at this point in the history
We want sys/ptrace.h before any includes of linux/ptrace.h and
asm/user.h pulls the latter.

Signed-off-by: Al Viro <[email protected]>
Acked-by: Jeff Dike <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Al Viro authored and torvalds committed May 21, 2008
1 parent 296cd66 commit 3787fa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/um/os-Linux/sys-i386/registers.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <errno.h>
#include <sys/ptrace.h>
#include <asm/user.h>
#include "kern_constants.h"
#include "longjmp.h"
Expand Down

0 comments on commit 3787fa6

Please sign in to comment.