Skip to contentSkip to conversation

fix include order in sys-i386/registers.c

PATCH New Al Viro 1 participant 1 message May 16, 2008 User-mode Linux (UML)

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 fix include order in sys-i386/registers.c

We want sys/ptrace.h before any includes of linux/ptrace.h and
asm/user.h pulls the latter.

---

arch/um/os-Linux/sys-i386/registers.c +1 -0
index c6183e7..b487cbe 100644
@@ -5,6 +5,7 @@
  */
 
 #include <errno.h>
+#include <sys/ptrace.h>
 #include <asm/user.h>
 #include "kern_constants.h"
 #include "longjmp.h"