kernel/ptrace.c should #include <linux/syscalls.h>
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()).
Signed-off-by Adrian Bunk <[email protected]>
---516dd6c4f50faf46120024fa80ca8e831033e0a6
kernel/ptrace.c +1 -0
@@ -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>