btrfs-progs: fix duplicate __[su]* typedefs on ppc64
The <ext2fs/ext2_types.h> header does attempt to avoid conflicts with <linux/types.h>, but on ppc64, <asm-generic/int-ll64.h> gets somehow included by other headers. Include <linux/types.h> explicitly, so that <ext2fs/ext2_types.h> notices it. The proper fix would be to fix <ext2fs/ext2_types.h> to not use its own typedefs. Originally observed in btrfs-convert, put the include into kerncompat.h to avoid future problems. Signed-off-by: Michal Marek <mmarek@suse.cz> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
This commit is contained in:
parent
309e50c763
commit
626123c284
|
@ -27,6 +27,7 @@
|
|||
#include <byteswap.h>
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#ifndef READ
|
||||
#define READ 0
|
||||
|
|
Loading…
Reference in New Issue