git://wimlib.net
/
wimlib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be1dad1
)
reparse.c: Include <stdlib.h> for alloca
author
Eric Biggers
<ebiggers3@gmail.com>
Tue, 14 May 2013 01:43:17 +0000
(20:43 -0500)
committer
Eric Biggers
<ebiggers3@gmail.com>
Tue, 14 May 2013 01:43:17 +0000
(20:43 -0500)
src/reparse.c
patch
|
blob
|
history
diff --git
a/src/reparse.c
b/src/reparse.c
index 133603976f1bfc53d59e6b0e5bc0682f7ca49984..c00c7c1c16906a6d95acc71ff9c989cc9f13e9ba 100644
(file)
--- a/
src/reparse.c
+++ b/
src/reparse.c
@@
-28,6
+28,10
@@
#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,