]> wimlib.net Git - wimlib/blobdiff - src/resource.c
Make win32.h includable on non-Windows
[wimlib] / src / resource.c
index 2c04882eb30e60526e2700edbe122de08ba959eb..134821971a6b3b20e4b6d79f520be219ab6c1dbc 100644 (file)
 #include "wimlib/endianness.h"
 #include "wimlib/error.h"
 #include "wimlib/file_io.h"
+#include "wimlib/ntfs_3g.h"
 #include "wimlib/resource.h"
 #include "wimlib/sha1.h"
 #include "wimlib/wim.h"
-
-#ifdef __WIN32__
-/* for read_winnt_stream_prefix(), read_win32_encrypted_file_prefix() */
-#  include "wimlib/win32.h"
-#endif
-
-#ifdef WITH_NTFS_3G
-/* for read_ntfs_attribute_prefix() */
-#  include "wimlib/ntfs_3g.h"
-#endif
-
+#include "wimlib/win32.h"
 
 /*
  *                         Compressed WIM resources