Skip to contentSkip to conversation

fs/eventfd.c should #include <linux/syscalls.h>

PATCH New Adrian Bunk 1 participant 1 message Nov 3, 2007 VFS

lore
Share & tools
lore
#0 lore raw

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()).

---
5cf38f68bfaefff7992322fb92bdac533561e7ae

fs/eventfd.c +1 -0
index 2ce19c0..a9f130c 100644
@@ -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;