Skip to contentSkip to conversation

kernel/ptrace.c should #include <linux/syscalls.h>

PATCH New Adrian Bunk 1 participant 1 message Nov 2, 2007 ptrace support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel/ptrace.c should #include <linux/syscalls.h>

Every file should include the headers containing the prototypes for its global functions (in this case sys_ptrace()).

---
516dd6c4f50faf46120024fa80ca8e831033e0a6

kernel/ptrace.c +1 -0
index 7c76f2f..a0f7963 100644
@@ -20,6 +20,7 @@
 #include <linux/signal.h>
 #include <linux/audit.h>
 #include <linux/pid_namespace.h>
+#include <linux/syscalls.h>
 
 #include <asm/pgtable.h>
 #include <asm/uaccess.h>