summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-06 01:36:44 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 10:41:02 -0800
commitf17d30a803e8434c4ef381bb5cfa1956ff0201f0 (patch)
tree42f71e13e01c0d142a30489031797d3d0ecf1ef9
parenta1c9eea9e56a7196c6891f6426b799c4598b38e2 (diff)
downloadop-kernel-dev-f17d30a803e8434c4ef381bb5cfa1956ff0201f0.zip
op-kernel-dev-f17d30a803e8434c4ef381bb5cfa1956ff0201f0.tar.gz
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>
-rw-r--r--kernel/ptrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index 74730e0..628b03a 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>
OpenPOWER on IntegriCloud