]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
#ifdef ALLOCA_H
authorOndrej Filip <feela@network.cz>
Mon, 31 May 2004 13:34:20 +0000 (13:34 +0000)
committerOndrej Filip <feela@network.cz>
Mon, 31 May 2004 13:34:20 +0000 (13:34 +0000)
nest/rt-attr.c
nest/rt-table.c

index 8259877cdf1b8ebf6c9661ff885ed2e79e4545a1..cccae2f619d491d29e9313d2f86a9c28be29553d 100644 (file)
@@ -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"
index 06236b6425facec5be63c28fbed55f37a5fe516f..db70b6665492ec8916536ec1d4d2546e56fac196 100644 (file)
@@ -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;