summaryrefslogtreecommitdiffstats
path: root/usr.sbin/arp
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-12-10 17:11:53 +0000
committerwollman <wollman@FreeBSD.org>1996-12-10 17:11:53 +0000
commitd3ecee07b35f58cb9d8e5e3c25e923af0c1c5056 (patch)
tree1bb2cd09b3e27a462e04923aa2922608ee5ea899 /usr.sbin/arp
parent3f5b5465d429055a8f42863b35d3d19ec28dcd9b (diff)
downloadFreeBSD-src-d3ecee07b35f58cb9d8e5e3c25e923af0c1c5056.zip
FreeBSD-src-d3ecee07b35f58cb9d8e5e3c25e923af0c1c5056.tar.gz
Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it.
Diffstat (limited to 'usr.sbin/arp')
-rw-r--r--usr.sbin/arp/arp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c
index 218f43a..9b31c6a 100644
--- a/usr.sbin/arp/arp.c
+++ b/usr.sbin/arp/arp.c
@@ -42,7 +42,7 @@ static char const copyright[] =
#ifndef lint
static char const sccsid[] = "@(#)from: arp.c 8.2 (Berkeley) 1/2/94";
-static char const freebsdid[] = "$Id$";
+static char const freebsdid[] = "$Id: arp.c,v 1.4 1996/02/08 21:05:52 phk Exp $";
#endif /* not lint */
/*
@@ -56,6 +56,7 @@ static char const freebsdid[] = "$Id$";
#include <sys/sockio.h>
#include <sys/sysctl.h>
#include <sys/ioctl.h>
+#include <sys/time.h>
#include <net/if.h>
#include <net/if_dl.h>
@@ -89,7 +90,6 @@ int rtmsg(int cmd);
void quit(char *msg);
int get_ether_addr(u_long ipaddr, u_char *hwaddr);
-extern int errno;
static int pid;
static int nflag;
static int s = -1;
OpenPOWER on IntegriCloud