]> wimlib.net Git - wimlib/blobdiff - src/wimlib_internal.h
Save original xml_data only when needed
[wimlib] / src / wimlib_internal.h
index da17c9ec0613ce0490ea498767641c29a4ebada9..8f4d295804873a3046b7f94680e47145b6f9aea3 100644 (file)
@@ -31,7 +31,7 @@
 #include "list.h"
 #include "wimlib.h"
 
-#ifdef WITH_FUSE
+#if defined(WITH_FUSE) || defined(ENABLE_MULTITHREADED_COMPRESSION)
 #include <pthread.h>
 #endif
 
@@ -295,9 +295,6 @@ struct WIMStruct {
        /* The lookup table for the WIM file. */
        struct wim_lookup_table *lookup_table;
 
-       /* Pointer to the XML data read from the WIM file (UTF16LE-encoded). */
-       utf16lechar *xml_data;
-
        /* Information retrieved from the XML data, arranged in an orderly
         * manner. */
        struct wim_info *wim_info;
@@ -562,8 +559,10 @@ build_dentry_tree_ntfs(struct wim_dentry **root_p,
                       wimlib_progress_func_t progress_func,
                       void *extra_arg);
 
+#ifdef WITH_NTFS_3G
 extern int
 do_ntfs_umount(struct _ntfs_volume *vol);
+#endif
 
 /* resource.c */