diff options
-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 8259877c..cccae2f6 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 06236b64..db70b666 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; |