Browse Source

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

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

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>
Adrian Bunk 17 years ago
parent
commit
45cc2b96f2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      fs/timerfd.c

+ 1 - 0
fs/timerfd.c

@@ -20,6 +20,7 @@
 #include <linux/hrtimer.h>
 #include <linux/hrtimer.h>
 #include <linux/anon_inodes.h>
 #include <linux/anon_inodes.h>
 #include <linux/timerfd.h>
 #include <linux/timerfd.h>
+#include <linux/syscalls.h>
 
 
 struct timerfd_ctx {
 struct timerfd_ctx {
 	struct hrtimer tmr;
 	struct hrtimer tmr;