]> wimlib.net Git - wimlib/blobdiff - src/unix_apply.c
Refactor headers
[wimlib] / src / unix_apply.c
index 969b8d2b6f74354eb7f0a6c7e0da2d3b80abc860..6b3ede19e82778658a1af73aa8e36eed1fb66362 100644 (file)
  * along with wimlib; if not, see http://www.gnu.org/licenses/.
  */
 
  * along with wimlib; if not, see http://www.gnu.org/licenses/.
  */
 
-#include "config.h"
+#ifndef __WIN32__
 
 
-#ifdef HAVE_UTIME_H
-#  include <utime.h>
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
 #endif
 #endif
+
 #include <dirent.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <dirent.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <unistd.h>
+#ifdef HAVE_UTIME_H
+#  include <utime.h>
+#endif
 
 
-#include "timestamp.h"
-#include "wimlib_internal.h"
-#include "lookup_table.h"
+#include "wimlib/apply.h"
+#include "wimlib/error.h"
+#include "wimlib/lookup_table.h"
+#include "wimlib/reparse.h"
+#include "wimlib/timestamp.h"
 
 /* Returns the number of components of @path.  */
 static unsigned
 
 /* Returns the number of components of @path.  */
 static unsigned
@@ -491,3 +497,5 @@ unix_do_apply_dentry_timestamps(const char *output_path,
        }
        return 0;
 }
        }
        return 0;
 }
+
+#endif /* !__WIN32__ */