summaryrefslogtreecommitdiffstats
path: root/kernel/ptrace.c
diff options
context:
space:
mode:
authorAdrian Bunk2008-02-06 10:36:44 +0100
committerLinus Torvalds2008-02-06 19:41:02 +0100
commitf17d30a803e8434c4ef381bb5cfa1956ff0201f0 (patch)
tree42f71e13e01c0d142a30489031797d3d0ecf1ef9 /kernel/ptrace.c
parentproper prototype for signals_init() (diff)
downloadkernel-qcow2-linux-f17d30a803e8434c4ef381bb5cfa1956ff0201f0.tar.gz
kernel-qcow2-linux-f17d30a803e8434c4ef381bb5cfa1956ff0201f0.tar.xz
kernel-qcow2-linux-f17d30a803e8434c4ef381bb5cfa1956ff0201f0.zip
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>
Diffstat (limited to 'kernel/ptrace.c')
-rw-r--r--kernel/ptrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index 74730e0c1be1..628b03ab88a5 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>