X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Freparse.c;h=766736d473dc6955ef0a00372dbc2f46f6bf378a;hp=c00c7c1c16906a6d95acc71ff9c989cc9f13e9ba;hb=e8c3ca2d1d0cac3d64985b45a9f654d2029a7518;hpb=726f9bbd0bd664294fce8a50be1d5b6881df8d16;ds=sidebyside diff --git a/src/reparse.c b/src/reparse.c index c00c7c1c..766736d4 100644 --- a/src/reparse.c +++ b/src/reparse.c @@ -1,7 +1,5 @@ /* - * reparse.c - * - * Handle reparse data. + * reparse.c - Handle reparse data. */ /* @@ -23,15 +21,28 @@ * along with wimlib; if not, see http://www.gnu.org/licenses/. */ -#include "dentry.h" -#include "buffer_io.h" -#include "lookup_table.h" -#include "sha1.h" -#include -#include +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include "wimlib/assert.h" +#include "wimlib/buffer_io.h" +#include "wimlib/dentry.h" +#include "wimlib/encoding.h" +#include "wimlib/error.h" +#include "wimlib/lookup_table.h" +#include "wimlib/reparse.h" +#include "wimlib/resource.h" + +#ifdef __WIN32__ +# include "wimlib/win32.h" /* for win32_get_file_and_vol_ids() */ +#endif + #ifdef HAVE_ALLOCA_H # include #endif +#include +#include static const utf16lechar volume_junction_prefix[11] = { cpu_to_le16('\\'), @@ -447,7 +458,6 @@ unix_get_ino_and_dev(const char *path, u64 *ino_ret, u64 *dev_ret) #endif /* !defined(__WIN32__) */ #ifdef __WIN32__ -# include "win32.h" # define RP_PATH_SEPARATOR L'\\' # define is_rp_path_separator(c) ((c) == L'\\' || (c) == L'/') # define os_get_ino_and_dev win32_get_file_and_vol_ids