fs/eventfd.c should #include <linux/syscalls.h>
PATCH 1/1 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 <[email protected]>
---5cf38f68bfaefff7992322fb92bdac533561e7ae
fs/eventfd.c +1 -0
@@ -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;