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>
This commit is contained in:
parent
14850308e9
commit
caf5768154
@ -8,6 +8,12 @@
|
|||||||
*/
|
*/
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include <linux/fs.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>
|
#include <linux/ext2_fs.h>
|
||||||
|
|
||||||
// storage helpers
|
// storage helpers
|
||||||
|
@ -48,6 +48,12 @@
|
|||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include <linux/fs.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>
|
#include <linux/ext2_fs.h>
|
||||||
|
|
||||||
#define ENABLE_FEATURE_MKFS_EXT2_RESERVED_GDT 0
|
#define ENABLE_FEATURE_MKFS_EXT2_RESERVED_GDT 0
|
||||||
|
Loading…
Reference in New Issue
Block a user