summaryrefslogtreecommitdiff
path: root/lib/alloca.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/alloca.h')
-rw-r--r--lib/alloca.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/alloca.h b/lib/alloca.h
new file mode 100644
index 00000000..57816bd5
--- /dev/null
+++ b/lib/alloca.h
@@ -0,0 +1,19 @@
+/*
+ * BIRD Library -- Linked Lists
+ *
+ * (c) 2004 Martin Mares <mj@ucw.cz>
+ *
+ * Can be freely distributed and used under the terms of the GNU GPL.
+ */
+
+#ifndef _BIRD_ALLOCA_H_
+#define _BIRD_ALLOCA_H_
+
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#else
+#include <stdlib.h>
+#endif
+
+
+#endif