reparse.c: Include <stdlib.h> for alloca
[wimlib] / src / reparse.c
index 133603976f1bfc53d59e6b0e5bc0682f7ca49984..c00c7c1c16906a6d95acc71ff9c989cc9f13e9ba 100644 (file)
 #include "lookup_table.h"
 #include "sha1.h"
 #include <errno.h>
+#include <stdlib.h>
+#ifdef HAVE_ALLOCA_H
+#  include <alloca.h>
+#endif
 
 static const utf16lechar volume_junction_prefix[11] = {
        cpu_to_le16('\\'),
@@ -315,10 +319,6 @@ out_have_link:
        return ret;
 }
 
-#ifdef HAVE_ALLOCA_H
-#  include <alloca.h>
-#endif
-
 int
 wim_inode_set_symlink(struct wim_inode *inode,
                      const char *target,