fix include order in sys-i386/registers.c
PATCH 1/1 fix include order in sys-i386/registers.c
We want sys/ptrace.h before any includes of linux/ptrace.h andasm/user.h pulls the latter.
Signed-off-by Al Viro <[email protected]>
Acked-by Jeff Dike <[email protected]>
---
arch/um/os-Linux/sys-i386/registers.c +1 -0
@@ -5,6 +5,7 @@*/ #include <errno.h> +#include <sys/ptrace.h> #include <asm/user.h> #include "kern_constants.h" #include "longjmp.h"