projects/linux·commit 8d0a1dec

romfs: have romfs_fs.h pull in necessary headers

8d0a1dec · Mike Frysinger <[email protected]> · 2011-01-12 17:01:12 -08:00

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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
8d0a1decb4a07bcb8ef5c4d7f693eafdebc2c41b
Parents
264b795f

Changes

1 files changed · +3 −0

FileStatusAddDelContent
include/linux/romfs_fs.hmodified+3−0View file

include/linux/romfs_fs.h

View file
diff --git a/include/linux/romfs_fs.h b/include/linux/romfs_fs.h
index c490fbc..5f57f93 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