LKML Archive on
help / color / mirror / Atom feed
* [2.6 patch] fs/timerfd.c should #include <linux/syscalls.h>
@ 2008-02-17  8:16 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2008-02-17  8:16 UTC (permalink / raw)
  To: Davide Libenzi; +Cc: linux-kernel

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

Signed-off-by: Adrian Bunk <>

dee855e7d9a90ab98e0ebbc9cb5d81ba1eff9c96 diff --git a/fs/timerfd.c b/fs/timerfd.c
index 10c80b5..5400524 100644
--- a/fs/timerfd.c
+++ b/fs/timerfd.c
@@ -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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-17  8:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-17  8:16 [2.6 patch] fs/timerfd.c should #include <linux/syscalls.h> Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).