projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed a bug in multi-subscript calculation
[unix-history]
/
usr
/
src
/
usr.bin
/
netstat
/
route.c
diff --git
a/usr/src/usr.bin/netstat/route.c
b/usr/src/usr.bin/netstat/route.c
index
abef0c5
..
220a2c2
100644
(file)
--- a/
usr/src/usr.bin/netstat/route.c
+++ b/
usr/src/usr.bin/netstat/route.c
@@
-1,14
+1,16
@@
#ifndef lint
#ifndef lint
-static char sccsid[] = "@(#)route.c 4.
4 82/10/07
";
+static char sccsid[] = "@(#)route.c 4.
5 82/11/14
";
#endif
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/mbuf.h>
#endif
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/mbuf.h>
+
#include <net/if.h>
#include <net/if.h>
-#include <net/in.h>
#define KERNEL /* to get routehash and RTHASHSIZ */
#include <net/route.h>
#define KERNEL /* to get routehash and RTHASHSIZ */
#include <net/route.h>
+#include <netinet/in.h>
+
#include <netdb.h>
extern int kmem;
#include <netdb.h>
extern int kmem;