From f17d30a803e8434c4ef381bb5cfa1956ff0201f0 Mon Sep 17 00:00:00 2001 From: Adrian Bunk <bunk@kernel.org> Date: Wed, 6 Feb 2008 01:36:44 -0800 Subject: [PATCH] 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 <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> --- kernel/ptrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/ptrace.c b/kernel/ptrace.c index 74730e0c1be1a..628b03ab88a57 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -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> -- GitLab