From 9f21b0b8b2eae8e42213d3c2e2fe16fce738c934 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Sun, 21 Sep 2014 07:16:51 +0000 Subject: [PATCH] Fix build. --- sys/net/route.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/net/route.h b/sys/net/route.h index d5d30d3cee92..bbdf98dfc7c1 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -85,9 +85,11 @@ struct rt_metrics { #define RT_DEFAULT_FIB 0 /* Explicitly mark fib=0 restricted cases */ #define RT_ALL_FIBS -1 /* Announce event for every fib */ +#ifdef _KERNEL extern u_int rt_numfibs; /* number of usable routing tables */ VNET_DECLARE(u_int, rt_add_addr_allfibs); /* Announce interfaces to all fibs */ #define V_rt_add_addr_allfibs VNET(rt_add_addr_allfibs) +#endif /* * We distinguish between routes to hosts and routes to networks,