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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adrian Bunk
Date: Friday, November 2, 2007 - 8:44 am

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>

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] kernel/ptrace.c should #include <linux/syscalls.h>, Adrian Bunk, (Fri Nov 2, 8:44 am)