summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-06 12:36:48 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 21:41:03 +0300
commit7ec37dfd4d282ce132dcb048398800951f6d11ef (patch)
tree4fef63bbc5695661fd0f2288801be48038bf8596
parent12c2ab5e8fdfde67f3f6778a366cbdef06de410d (diff)
downloadlinux-7ec37dfd4d282ce132dcb048398800951f6d11ef.tar.xz
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@kernel.org> Cc: Davide Libenzi <davidel@xmailserver.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/signalfd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/signalfd.c b/fs/signalfd.c
index 2d3e107da2d3..cb2b63ae0bf4 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;