diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2000-08-07 16:39:33 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2000-08-07 16:39:33 +0000 |
| commit | d84a1df489b89733ecd08d49d32a494584868bad (patch) | |
| tree | 6a28e567dfe0534aa56dabe9e9c8e11fd7b5ac17 | |
| parent | ef10227633220ee0e330e8ba51562a65f273c4a5 (diff) | |
Notes
| -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 c078b33053d7..6fbb39ad07b3 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 f605a039ac40..1277d56567a2 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*/ |
