summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-05-31 15:34:20 +0200
committerOndrej Filip <feela@network.cz>2004-05-31 15:34:20 +0200
commit0c745adc8003ac816be15e2246fa4685e127d120 (patch)
treefaf3d623a21690e03cd5e34c5b72638ba8ca99ef
parentbd62eeca27aba7da34a65a8f039d1b011115ddca (diff)
downloadbird-0c745adc8003ac816be15e2246fa4685e127d120.tar
bird-0c745adc8003ac816be15e2246fa4685e127d120.zip
#ifdef ALLOCA_H
-rw-r--r--nest/rt-attr.c2
-rw-r--r--nest/rt-table.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index 8259877..cccae2f 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -44,7 +44,9 @@
* Routing tables always contain only cached &rta's.
*/
+#ifdef HAVE_ALLOCA_H
#include <alloca.h>
+#endif
#include "nest/bird.h"
#include "nest/route.h"
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 06236b6..db70b66 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -42,7 +42,9 @@
#include "filter/filter.h"
#include "lib/string.h"
+#ifdef HAVE_ALLOCA_H
#include <alloca.h>
+#endif
static slab *rte_slab;
static linpool *rte_update_pool;