diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-06 04:36:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:03 -0500 |
commit | 7747cdb2f8302c2e1121f6d604b62a060fb04603 (patch) | |
tree | c8d99c14aceea53f790e8769f0c60fc592b8de07 | |
parent | 7ec37dfd4d282ce132dcb048398800951f6d11ef (diff) |
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>
-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 2ce19c000d2a..a9f130cd50ac 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/spinlock.h> | 15 | #include <linux/spinlock.h> |
16 | #include <linux/anon_inodes.h> | 16 | #include <linux/anon_inodes.h> |
17 | #include <linux/eventfd.h> | 17 | #include <linux/eventfd.h> |
18 | #include <linux/syscalls.h> | ||
18 | 19 | ||
19 | struct eventfd_ctx { | 20 | struct eventfd_ctx { |
20 | wait_queue_head_t wqh; | 21 | wait_queue_head_t wqh; |