diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-06 01:36:49 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 10:41:03 -0800 |
commit | 7747cdb2f8302c2e1121f6d604b62a060fb04603 (patch) | |
tree | c8d99c14aceea53f790e8769f0c60fc592b8de07 /fs/eventfd.c | |
parent | 7ec37dfd4d282ce132dcb048398800951f6d11ef (diff) | |
download | linux-3.10-7747cdb2f8302c2e1121f6d604b62a060fb04603.tar.gz linux-3.10-7747cdb2f8302c2e1121f6d604b62a060fb04603.tar.bz2 linux-3.10-7747cdb2f8302c2e1121f6d604b62a060fb04603.zip |
fs/eventfd.c should #include <linux/syscalls.h>
Every file should include the headers containing the prototypes for its global
functions (in this case sys_eventfd()).
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/eventfd.c')
-rw-r--r-- | fs/eventfd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/eventfd.c b/fs/eventfd.c index 2ce19c000d2..a9f130cd50a 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -15,6 +15,7 @@ #include <linux/spinlock.h> #include <linux/anon_inodes.h> #include <linux/eventfd.h> +#include <linux/syscalls.h> struct eventfd_ctx { wait_queue_head_t wqh; |