[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20071102154414.GN30287@stusta.de>
Date: Fri, 2 Nov 2007 16:44:14 +0100
From: Adrian Bunk <bunk@...nel.org>
To: linux-kernel@...r.kernel.org
Subject: [2.6 patch] 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@...nel.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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists