summaryrefslogtreecommitdiffstats
path: root/lib/alloca.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-05-31 19:07:05 +0200
committerOndrej Filip <feela@network.cz>2004-05-31 19:07:05 +0200
commit0e6eef620d4b838fc558711cd2d5572ec7a576c2 (patch)
tree11d719f24c51675bba34bb20dd57956d91fe119d /lib/alloca.h
parentc222500d8e098f0504405724b56676a2efc0861f (diff)
downloadbird-0e6eef620d4b838fc558711cd2d5572ec7a576c2.tar
bird-0e6eef620d4b838fc558711cd2d5572ec7a576c2.zip
Use #include "alloca.h"
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 0000000..57816bd
--- /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