diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1996-12-10 17:11:53 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1996-12-10 17:11:53 +0000 |
commit | 628d2ac1b093f48f6fb98b17308acacc929876d8 (patch) | |
tree | 1bb2cd09b3e27a462e04923aa2922608ee5ea899 /usr.sbin/arp/arp.c | |
parent | fc43f97826e798ad4e3534b59f3b8d3aac1c4abe (diff) | |
download | src-628d2ac1b093f48f6fb98b17308acacc929876d8.tar.gz src-628d2ac1b093f48f6fb98b17308acacc929876d8.zip |
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.
Notes
Notes:
svn path=/head/; revision=20287
Diffstat (limited to 'usr.sbin/arp/arp.c')
-rw-r--r-- | usr.sbin/arp/arp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index 218f43aac6fb..9b31c6ab4879 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; |