diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/if.c | 5 | ||||
-rw-r--r-- | usr.bin/netstat/mroute.c | 2 | ||||
-rw-r--r-- | usr.bin/netstat/route.c | 5 |
3 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c index 4dc9f78..0edd116 100644 --- a/usr.bin/netstat/if.c +++ b/usr.bin/netstat/if.c @@ -32,7 +32,11 @@ */ #ifndef lint +/* static char sccsid[] = "@(#)if.c 8.3 (Berkeley) 4/28/95"; +*/ +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include <sys/types.h> @@ -41,6 +45,7 @@ static char sccsid[] = "@(#)if.c 8.3 (Berkeley) 4/28/95"; #include <sys/time.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_types.h> #include <netinet/in.h> diff --git a/usr.bin/netstat/mroute.c b/usr.bin/netstat/mroute.c index 68a15f5..e725d5d 100644 --- a/usr.bin/netstat/mroute.c +++ b/usr.bin/netstat/mroute.c @@ -55,9 +55,7 @@ #include <netinet/in.h> #include <netinet/igmp.h> #include <net/route.h> -#define KERNEL 1 /* XXX bogus! */ #include <netinet/ip_mroute.h> -#undef KERNEL #include <stdio.h> #include <stdlib.h> diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c index 2da464f..8a21f4f 100644 --- a/usr.bin/netstat/route.c +++ b/usr.bin/netstat/route.c @@ -36,7 +36,7 @@ static char sccsid[] = "From: @(#)route.c 8.6 (Berkeley) 4/28/95"; #endif static const char rcsid[] = - "$Id: route.c,v 1.21 1996/10/28 18:56:44 wollman Exp $"; + "$Id: route.c,v 1.22 1996/12/10 17:11:53 wollman Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -45,11 +45,10 @@ static const char rcsid[] = #include <sys/time.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_dl.h> #include <net/if_types.h> -#define KERNEL #include <net/route.h> -#undef KERNEL #include <netinet/in.h> #include <netipx/ipx.h> |