netstat/netstat.h: Add macro so rt_tables is in private namespace

Otherwise this conflicts with the rt_tables in the kernel and
kvm can't work.
This commit is contained in:
Joel Sherrill 2012-10-25 09:02:38 -05:00
parent 2b640ee8fb
commit e0b40b0aa2

View File

@ -38,6 +38,8 @@
#ifdef __rtems__
#define __BSD_VISIBLE 1
#include <freebsd/sys/types.h>
#define rt_tables netstat_rt_tables
#endif
extern int Aflag; /* show addresses of protocol control block */