* process.c: Reorder includes to put sys/reg.h before linux/ptrace.h,
since they can conflict.
#endif
#endif /* HAVE_ASM_REG_H */
-#ifdef HAVE_LINUX_PTRACE_H
-#undef PTRACE_SYSCALL
-#include <linux/ptrace.h>
-#endif
-
#ifdef HAVE_SYS_REG_H
# include <sys/reg.h>
#ifndef PTRACE_PEEKUSR
#endif
#endif
+#ifdef HAVE_LINUX_PTRACE_H
+#undef PTRACE_SYSCALL
+#include <linux/ptrace.h>
+#endif
+
#ifdef HAVE_LINUX_FUTEX_H
#include <linux/futex.h>
#endif