Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2014 07:16:52 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r271923 - head/sys/net
Message-ID:  <201409210716.s8L7GqIY010714@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Sun Sep 21 07:16:51 2014
New Revision: 271923
URL: http://svnweb.freebsd.org/changeset/base/271923

Log:
  Fix build.

Modified:
  head/sys/net/route.h

Modified: head/sys/net/route.h
==============================================================================
--- head/sys/net/route.h	Sun Sep 21 06:36:17 2014	(r271922)
+++ head/sys/net/route.h	Sun Sep 21 07:16:51 2014	(r271923)
@@ -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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409210716.s8L7GqIY010714>