summaryrefslogtreecommitdiff
path: root/fs/signalfd.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-06 01:36:48 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 10:41:03 -0800
commit7ec37dfd4d282ce132dcb048398800951f6d11ef (patch)
tree4fef63bbc5695661fd0f2288801be48038bf8596 /fs/signalfd.c
parent12c2ab5e8fdfde67f3f6778a366cbdef06de410d (diff)
downloadlinux-rpi3-7ec37dfd4d282ce132dcb048398800951f6d11ef.tar.gz
linux-rpi3-7ec37dfd4d282ce132dcb048398800951f6d11ef.tar.bz2
linux-rpi3-7ec37dfd4d282ce132dcb048398800951f6d11ef.zip
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>
Diffstat (limited to 'fs/signalfd.c')
-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;