]> err.no Git - linux-2.6/commitdiff
fs/timerfd.c should #include <linux/syscalls.h>
authorAdrian Bunk <bunk@kernel.org>
Tue, 29 Apr 2008 07:58:59 +0000 (00:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:01 +0000 (08:06 -0700)
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>
fs/timerfd.c

index 10c80b59ec4bb7e542b8864f369ec10da7dc34f5..5400524e9cb1d2b2e40bf810a1282277e54eec98 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/hrtimer.h>
 #include <linux/anon_inodes.h>
 #include <linux/timerfd.h>
+#include <linux/syscalls.h>
 
 struct timerfd_ctx {
        struct hrtimer tmr;