+extern int
+win32_do_apply_dentry(const mbchar *output_path,
+ size_t output_path_len,
+ struct wim_dentry *dentry,
+ struct apply_args *args);
+
+extern int
+win32_do_apply_dentry_timestamps(const mbchar *output_path,
+ size_t output_path_len,
+ const struct wim_dentry *dentry,
+ const struct apply_args *args);
+
+extern int
+fsync(int fd);
+
+extern unsigned
+win32_get_number_of_processors();
+
+extern mbchar *
+realpath(const mbchar *path, mbchar *resolved_path);
+
+/* Microsoft's swprintf() violates the C standard and they require programmers
+ * to do this weird define to get the correct function. */
+#define swprintf _snwprintf
+
+/* Use Microsoft's weird _mkdir() function instead of mkdir() */