summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-13 02:01:12 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 17:03:23 +0100
commit8d0a1decb4a07bcb8ef5c4d7f693eafdebc2c41b (patch)
treead3daa7fe81fca7269fbfda9adb2ac37114aa4b9
parentramoops: fix types, remove typecasts (diff)
downloadlinux-8d0a1decb4a07bcb8ef5c4d7f693eafdebc2c41b.tar.xz
linux-8d0a1decb4a07bcb8ef5c4d7f693eafdebc2c41b.zip
romfs: have romfs_fs.h pull in necessary headers
This header uses things like __be32, so pull in linux/types.h. Further, it uses BLOCK_SIZE, so pull in linux/fs.h. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/linux/romfs_fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/romfs_fs.h b/include/linux/romfs_fs.h
index c490fbc43fe2..5f57f93b284f 100644
--- a/include/linux/romfs_fs.h
+++ b/include/linux/romfs_fs.h
@@ -1,6 +1,9 @@
#ifndef __LINUX_ROMFS_FS_H
#define __LINUX_ROMFS_FS_H
+#include <linux/types.h>
+#include <linux/fs.h>
+
/* The basic structures of the romfs filesystem */
#define ROMBSIZE BLOCK_SIZE