diff options
author | ume <ume@FreeBSD.org> | 2000-08-07 16:39:33 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2000-08-07 16:39:33 +0000 |
commit | e35ff24b97251716934363c568b0a7c1e8e064f5 (patch) | |
tree | 58aa45b09d28f708fbc94ef1e11732f7b1eb1d9b /usr.bin | |
parent | 8fd46ab4554b7526d9001710a3297460c0bce9f8 (diff) | |
download | FreeBSD-src-e35ff24b97251716934363c568b0a7c1e8e064f5.zip FreeBSD-src-e35ff24b97251716934363c568b0a7c1e8e064f5.tar.gz |
To make compilable without -DINET6.
PR: bin/20407
Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/inet6.c | 2 | ||||
-rw-r--r-- | usr.bin/netstat/mroute6.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c index c078b33..6fbb39a 100644 --- a/usr.bin/netstat/inet6.c +++ b/usr.bin/netstat/inet6.c @@ -40,6 +40,7 @@ static char sccsid[] = "@(#)inet6.c 8.4 (Berkeley) 4/20/94"; */ #endif /* not lint */ +#ifdef INET6 #include <sys/param.h> #include <sys/socket.h> #include <sys/socketvar.h> @@ -1045,3 +1046,4 @@ inet6name(in6p) sizeof(ntop_buf))); return (line); } +#endif /*INET6*/ diff --git a/usr.bin/netstat/mroute6.c b/usr.bin/netstat/mroute6.c index f605a03..1277d56 100644 --- a/usr.bin/netstat/mroute6.c +++ b/usr.bin/netstat/mroute6.c @@ -67,6 +67,7 @@ * $FreeBSD$ */ +#ifdef INET6 #include <sys/param.h> #include <sys/queue.h> #include <sys/socket.h> @@ -247,3 +248,4 @@ mrt6_stats(mstaddr) (unsigned long long)mrtstat.mrt6s_pkt2large, plural(mrtstat.mrt6s_pkt2large)); } +#endif /*INET6*/ |