From e0b40b0aa27a7d4a9f3ac6ac5237342e8b98cb98 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 25 Oct 2012 09:02:38 -0500 Subject: [PATCH] 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. --- freebsd-userspace/commands/usr.bin/netstat/netstat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freebsd-userspace/commands/usr.bin/netstat/netstat.h b/freebsd-userspace/commands/usr.bin/netstat/netstat.h index 30d84f09..c7564c6f 100644 --- a/freebsd-userspace/commands/usr.bin/netstat/netstat.h +++ b/freebsd-userspace/commands/usr.bin/netstat/netstat.h @@ -38,6 +38,8 @@ #ifdef __rtems__ #define __BSD_VISIBLE 1 #include + +#define rt_tables netstat_rt_tables #endif extern int Aflag; /* show addresses of protocol control block */