summaryrefslogtreecommitdiffstats
path: root/nest
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 /nest
parentc222500d8e098f0504405724b56676a2efc0861f (diff)
downloadbird-0e6eef620d4b838fc558711cd2d5572ec7a576c2.tar
bird-0e6eef620d4b838fc558711cd2d5572ec7a576c2.zip
Use #include "alloca.h"
Diffstat (limited to 'nest')
-rw-r--r--nest/rt-attr.c5
-rw-r--r--nest/rt-table.c5
2 files changed, 2 insertions, 8 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index cccae2f..ec8e69b 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -44,10 +44,7 @@
* Routing tables always contain only cached &rta's.
*/
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-
+#include "alloca.h"
#include "nest/bird.h"
#include "nest/route.h"
#include "nest/protocol.h"
diff --git a/nest/rt-table.c b/nest/rt-table.c
index db70b66..ec5412c 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -41,10 +41,7 @@
#include "conf/conf.h"
#include "filter/filter.h"
#include "lib/string.h"
-
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
+#include "alloca.h"
static slab *rte_slab;
static linpool *rte_update_pool;