[2.6 patch] kernel/ptrace.c should #include <linux/syscalls.h>

From: Adrian Bunk
Date: Fri Nov 02 2007 - 11:45:56 EST


Every file should include the headers containing the prototypes for
its global functions (in this case sys_ptrace()).

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
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>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/