From 44c7efe6ae724b37f1f5d98a16208bbce790fa3d Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 18 Aug 2013 13:25:19 -0500 Subject: [PATCH 1/1] struct wim_inode: Fix union --- include/wimlib/dentry.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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; }; -- 2.43.0