aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/systat/netcmds.c3
-rw-r--r--usr.bin/systat/netstat.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/systat/netcmds.c b/usr.bin/systat/netcmds.c
index 14272137efd5..479b33673eb0 100644
--- a/usr.bin/systat/netcmds.c
+++ b/usr.bin/systat/netcmds.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)netcmds.c 8.1 (Berkeley) 6/6/93";
*/
static const char rcsid[] =
- "$Id: netcmds.c,v 1.6 1997/02/22 19:57:16 peter Exp $";
+ "$Id: netcmds.c,v 1.7 1997/12/04 03:44:44 steve Exp $";
#endif /* not lint */
/*
@@ -53,6 +53,7 @@ static const char rcsid[] =
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/in_pcb.h>
+#include <arpa/inet.h>
#include <netdb.h>
#include <stdlib.h>
diff --git a/usr.bin/systat/netstat.c b/usr.bin/systat/netstat.c
index 1e587e9a0dc9..8cc3519d8fe3 100644
--- a/usr.bin/systat/netstat.c
+++ b/usr.bin/systat/netstat.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)netstat.c 8.1 (Berkeley) 6/6/93";
*/
static const char rcsid[] =
- "$Id: netstat.c,v 1.8 1997/02/22 19:57:16 peter Exp $";
+ "$Id: netstat.c,v 1.9 1998/06/09 04:17:23 imp Exp $";
#endif /* not lint */
/*
@@ -49,6 +49,7 @@ static const char rcsid[] =
#include <sys/protosw.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <net/route.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>