]> wimlib.net Git - wimlib/commitdiff
add missing file: include/wimlib/alloca.h
authorEric Biggers <ebiggers3@gmail.com>
Wed, 28 Jan 2015 00:03:09 +0000 (18:03 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Wed, 28 Jan 2015 00:03:37 +0000 (18:03 -0600)
include/wimlib/alloca.h [new file with mode: 0644]

diff --git a/include/wimlib/alloca.h b/include/wimlib/alloca.h
new file mode 100644 (file)
index 0000000..a3097c6
--- /dev/null
@@ -0,0 +1,10 @@
+#ifndef _WIMLIB_ALLOCA_H
+#define _WIMLIB_ALLOCA_H
+
+#ifdef HAVE_ALLOCA_H
+#  include <alloca.h>
+#else
+#  include <stdlib.h>
+#endif
+
+#endif /* _WIMLIB_ALLOCA_H */