Skip to contentSkip to conversation

fs/signalfd.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/signalfd.c should #include <linux/syscalls.h>

Every file should include the headers containing the prototypes for its global functions (in this case sys_signalfd()).

---
8b3bc8f299ba6ce251a047cb5c6a7aabc95a4f39

fs/signalfd.c +1 -0
index fb7f7e8..60da986 100644
@@ -27,6 +27,7 @@
 #include <linux/list.h>
 #include <linux/anon_inodes.h>
 #include <linux/signalfd.h>
+#include <linux/syscalls.h>
 
 struct signalfd_ctx {
 	sigset_t sigmask;