From: Theodore Ts'o Date: Tue, 1 Jan 2008 17:25:36 +0000 (-0500) Subject: Fix build failure on non-Linux/non-Hurd/non-Masix systems X-Git-Tag: v1.40.5~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7132d48d83f79992773b6d9f1cace8d96366f08b;p=thirdparty%2Fe2fsprogs.git Fix build failure on non-Linux/non-Hurd/non-Masix systems The previous fix didn't quite work, but this one should! Addresses-Sourceforge-Bug: #1861633 Signed-off-by: "Theodore Ts'o" --- diff --git a/lib/ext2fs/ext2_fs.h b/lib/ext2fs/ext2_fs.h index e124e9537..7e5821992 100644 --- a/lib/ext2fs/ext2_fs.h +++ b/lib/ext2fs/ext2_fs.h @@ -453,8 +453,8 @@ struct ext2_inode_large { #define inode_uid(inode) ((inode).i_uid) #define inode_gid(inode) ((inode).i_gid) #else -#define inode_uid(inode) ((inode).i_uid | (inode).i_uid_high << 16) -#define inode_gid(inode) ((inode).i_gid | (inode).i_gid_high << 16) +#define inode_uid(inode) ((inode).i_uid | (inode).osd2.linux2.l_i_uid_high << 16) +#define inode_gid(inode) ((inode).i_gid | (inode).osd2.linux2.l_i_gid_high << 16) #endif /*