* [2.6 patch] kernel/ptrace.c should #include <linux/syscalls.h>
@ 2007-11-02 15:44 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-11-02 15:44 UTC (permalink / raw)
To: linux-kernel
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>
---
516dd6c4f50faf46120024fa80ca8e831033e0a6
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index 7c76f2f..a0f7963 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>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-02 15:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-02 15:44 [2.6 patch] kernel/ptrace.c should #include <linux/syscalls.h> Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox