From: Eric Biggers Date: Sun, 18 Aug 2013 18:25:19 +0000 (-0500) Subject: struct wim_inode: Fix union X-Git-Tag: v1.5.0~34 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=44c7efe6ae724b37f1f5d98a16208bbce790fa3d struct wim_inode: Fix union --- diff --git a/include/wimlib/dentry.h b/include/wimlib/dentry.h index 8676e8e0..05b7e493 100644 --- a/include/wimlib/dentry.h +++ b/include/wimlib/dentry.h @@ -382,14 +382,15 @@ struct wim_inode { /* Used only during image mount: Table of file descriptors that * have been opened to this inode. The table is automatically * freed when the last file descriptor is closed. */ - struct { - struct wimfs_fd **i_fds; - u16 i_num_opened_fds; - u16 i_num_allocated_fds; - }; + struct wimfs_fd **i_fds; #endif }; +#ifdef WITH_FUSE + u16 i_num_opened_fds; + u16 i_num_allocated_fds; +#endif + /* Next alternate data stream ID to be assigned */ u32 i_next_stream_id; };