Commit 7747cdb2 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

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: default avatarAdrian Bunk <bunk@kernel.org>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7ec37dfd
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/anon_inodes.h> #include <linux/anon_inodes.h>
#include <linux/eventfd.h> #include <linux/eventfd.h>
#include <linux/syscalls.h>
struct eventfd_ctx { struct eventfd_ctx {
wait_queue_head_t wqh; wait_queue_head_t wqh;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment