diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-10-25 09:02:38 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-10-25 09:02:38 -0500 |
commit | e0b40b0aa27a7d4a9f3ac6ac5237342e8b98cb98 (patch) | |
tree | aab496c34e16ac35c8d8534dc8aec8cfcb4809c0 | |
parent | uipc_domain.c: Correct max_linkhdr (diff) | |
download | rtems-libbsd-e0b40b0aa27a7d4a9f3ac6ac5237342e8b98cb98.tar.bz2 |
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.
-rw-r--r-- | freebsd-userspace/commands/usr.bin/netstat/netstat.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <freebsd/sys/types.h> + +#define rt_tables netstat_rt_tables #endif extern int Aflag; /* show addresses of protocol control block */ |