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 +#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 +#endif static slab *rte_slab; static linpool *rte_update_pool;