]> wimlib.net Git - wimlib/blobdiff - src/file_io.c
Make win32.h includable on non-Windows
[wimlib] / src / file_io.c
index 9455ed63ad0cd6cec4abdd5f9d645738059d2d33..317a00d03b61df66d083c93162dcf5ed303256b6 100644 (file)
@@ -29,9 +29,7 @@
 #include "wimlib/error.h"
 #include "wimlib/file_io.h"
 #include "wimlib/util.h"
-#ifdef __WIN32__
-#  include "wimlib/win32.h" /* For pread(), pwrite() replacements */
-#endif
+#include "wimlib/win32.h" /* For pread(), pwrite() replacements */
 
 /* Wrapper around read() that checks for errors keeps retrying until all
  * requested bytes have been read or until end-of file has occurred.