* [PATCH] Fix a missing inclusion of linux/types.h in linux/fs.h
@ 2010-10-28 7:25 David Howells
0 siblings, 0 replies; only message in thread
From: David Howells @ 2010-10-28 7:25 UTC (permalink / raw)
To: torvalds, akpm; +Cc: lczerner, dmonakhov, tytso, linux-kernel
linux/fs.h needs to #include linux/types.h otherwise the following errors can be
encountered:
In file included from fs/char_dev.c:8:
include/linux/fs.h:36: error: expected specifier-qualifier-list before 'uint64_t'
In file included from include/linux/tty.h:9,
from drivers/char/tty_mutex.c:4:
include/linux/fs.h:36: error: expected specifier-qualifier-list before 'uint64_t'
In file included from mm/shmem.c:23:
include/linux/fs.h:36: error: expected specifier-qualifier-list before 'uint64_t'
Signed-off-by: David Howells <dhowells@redhat.com>
---
include/linux/fs.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 6ed7ace..15de46d 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -6,6 +6,7 @@
* structures etc.
*/
+#include <linux/types.h>
#include <linux/limits.h>
#include <linux/ioctl.h>
#include <linux/blk_types.h>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-28 7:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-28 7:25 [PATCH] Fix a missing inclusion of linux/types.h in linux/fs.h David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®