diff options
author | Ondrej Filip <feela@network.cz> | 2004-05-31 15:34:20 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-05-31 15:34:20 +0200 |
commit | 0c745adc8003ac816be15e2246fa4685e127d120 (patch) | |
tree | faf3d623a21690e03cd5e34c5b72638ba8ca99ef /nest | |
parent | bd62eeca27aba7da34a65a8f039d1b011115ddca (diff) | |
download | bird-0c745adc8003ac816be15e2246fa4685e127d120.tar bird-0c745adc8003ac816be15e2246fa4685e127d120.zip |
#ifdef ALLOCA_H
Diffstat (limited to 'nest')
-rw-r--r-- | nest/rt-attr.c | 2 | ||||
-rw-r--r-- | nest/rt-table.c | 2 |
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; |