From: Theodore Ts'o Date: Sat, 22 Sep 2012 13:02:52 +0000 (-0400) Subject: libext2fs: always define i_checksum_lo X-Git-Tag: v1.43-WIP-2012-09-22~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae67aaac0efb0a2612920c8600cce4d10f58ba8f;p=thirdparty%2Fe2fsprogs.git libext2fs: always define i_checksum_lo Always #define i_checksum_lo, since otherwise e2fsprogs won't compile on non-Linux platforms. Signed-off-by: "Theodore Ts'o" --- diff --git a/lib/ext2fs/ext2_fs.h b/lib/ext2fs/ext2_fs.h index 5b6e31561..0c0bbcbf5 100644 --- a/lib/ext2fs/ext2_fs.h +++ b/lib/ext2fs/ext2_fs.h @@ -475,6 +475,8 @@ struct ext2_inode_large { #define i_dir_acl i_size_high +#define i_checksum_lo osd2.linux2.l_i_checksum_lo + #if defined(__KERNEL__) || defined(__linux__) #define i_reserved1 osd1.linux1.l_i_reserved1 #define i_frag osd2.linux2.l_i_frag @@ -483,7 +485,6 @@ struct ext2_inode_large { #define i_gid_low i_gid #define i_uid_high osd2.linux2.l_i_uid_high #define i_gid_high osd2.linux2.l_i_gid_high -#define i_checksum_lo osd2.linux2.l_i_checksum_lo #else #if defined(__GNU__)