[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20071103000421.GE4594@stusta.de>
Date: Sat, 3 Nov 2007 01:04:21 +0100
From: Adrian Bunk <bunk@...nel.org>
To: Davide Libenzi <davidel@...ilserver.org>
Cc: linux-kernel@...r.kernel.org
Subject: [2.6 patch] fs/signalfd.c should #include <linux/syscalls.h>
Every file should include the headers containing the prototypes for
its global functions (in this case sys_signalfd()).
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
8b3bc8f299ba6ce251a047cb5c6a7aabc95a4f39
diff --git a/fs/signalfd.c b/fs/signalfd.c
index fb7f7e8..60da986 100644
--- a/fs/signalfd.c
+++ b/fs/signalfd.c
@@ -27,6 +27,7 @@
#include <linux/list.h>
#include <linux/anon_inodes.h>
#include <linux/signalfd.h>
+#include <linux/syscalls.h>
struct signalfd_ctx {
sigset_t sigmask;
-
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