From caf5768154301697430f0a3718838967d0f55f95 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 12 Apr 2012 14:01:10 +0200 Subject: work around linux/ext2_fs.h breakage See https://bugzilla.kernel.org/show_bug.cgi?id=42986 Signed-off-by: Denys Vlasenko --- util-linux/mkfs_ext2.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'util-linux/mkfs_ext2.c') diff --git a/util-linux/mkfs_ext2.c b/util-linux/mkfs_ext2.c index 6cbbe0e07..759bb0a7a 100644 --- a/util-linux/mkfs_ext2.c +++ b/util-linux/mkfs_ext2.c @@ -48,6 +48,12 @@ #include "libbb.h" #include +/* + * Work around linux/ext2_fs.h breakage. + * See https://bugzilla.kernel.org/show_bug.cgi?id=42986. + */ +typedef mode_t bb__umode_t; +#define umode_t bb__umode_t #include #define ENABLE_FEATURE_MKFS_EXT2_RESERVED_GDT 0 -- cgit v1.2.3