diff options
author | wollman <wollman@FreeBSD.org> | 1996-12-10 17:11:53 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1996-12-10 17:11:53 +0000 |
commit | d3ecee07b35f58cb9d8e5e3c25e923af0c1c5056 (patch) | |
tree | 1bb2cd09b3e27a462e04923aa2922608ee5ea899 /sbin/route | |
parent | 3f5b5465d429055a8f42863b35d3d19ec28dcd9b (diff) | |
download | FreeBSD-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 'sbin/route')
-rw-r--r-- | sbin/route/route.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c index 84dee1d..339d841 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -43,7 +43,7 @@ static const char copyright[] = static char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/19/94"; */ static const char rcsid[] = - "$Id: route.c,v 1.16 1996/10/27 17:42:14 fenner Exp $"; + "$Id: route.c,v 1.17 1996/11/01 20:30:37 wollman Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -51,6 +51,7 @@ static const char rcsid[] = #include <sys/socket.h> #include <sys/ioctl.h> #include <sys/sysctl.h> +#include <sys/time.h> #include <net/if.h> #include <net/route.h> @@ -69,15 +70,16 @@ static const char rcsid[] = #include <arpa/inet.h> #include <netdb.h> +#include <ctype.h> +#include <err.h> #include <errno.h> -#include <unistd.h> +#include <paths.h> #include <stdio.h> -#include <ctype.h> #include <stdlib.h> #include <string.h> -#include <paths.h> -#include <err.h> #include <sysexits.h> +#include <time.h> +#include <unistd.h> struct keytab { char *kt_cp; |