Fix a missing inclusion of linux/types.h in linux/fs.h
PATCH 1/1 Fix a missing inclusion of linux/types.h in linux/fs.h
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 <[email protected]>
---
include/linux/fs.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/fs.h +1 -0
@@ -6,6 +6,7 @@* structures etc. */ +#include <linux/types.h> #include <linux/limits.h> #include <linux/ioctl.h> #include <linux/blk_types.h>