diff options
author | Denys Vlasenko | 2012-04-12 14:01:10 +0200 |
---|---|---|
committer | Denys Vlasenko | 2012-04-12 14:01:10 +0200 |
commit | caf5768154301697430f0a3718838967d0f55f95 (patch) | |
tree | 2929d1bf68097137a32c6deb4410f15816080813 /e2fsprogs | |
parent | 14850308e902594785e6789a4f28677103ca2096 (diff) | |
download | busybox-caf5768154301697430f0a3718838967d0f55f95.zip busybox-caf5768154301697430f0a3718838967d0f55f95.tar.gz |
work around linux/ext2_fs.h breakage
See https://bugzilla.kernel.org/show_bug.cgi?id=42986
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs')
-rw-r--r-- | e2fsprogs/tune2fs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/e2fsprogs/tune2fs.c b/e2fsprogs/tune2fs.c index 020bdaa..8da7432 100644 --- a/e2fsprogs/tune2fs.c +++ b/e2fsprogs/tune2fs.c @@ -8,6 +8,12 @@ */ #include "libbb.h" #include <linux/fs.h> +/* + * 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 <linux/ext2_fs.h> // storage helpers |