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 /usr.sbin/ppp/route.c | |
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 'usr.sbin/ppp/route.c')
-rw-r--r-- | usr.sbin/ppp/route.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/usr.sbin/ppp/route.c b/usr.sbin/ppp/route.c index 9416836..51f6615c 100644 --- a/usr.sbin/ppp/route.c +++ b/usr.sbin/ppp/route.c @@ -17,29 +17,33 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: route.c,v 1.8 1996/10/06 13:32:35 jkh Exp $ + * $Id: route.c,v 1.9 1996/10/12 16:20:34 jkh Exp $ * */ #include <sys/types.h> #include <machine/endian.h> +#include <sys/ioctl.h> #include <sys/param.h> #include <sys/socket.h> -#include <net/route.h> -#include <sys/ioctl.h> -#include <net/if.h> -#include <errno.h> -#include <netinet/in_systm.h> -#include <netinet/in.h> -#include <arpa/inet.h> #if (BSD >= 199306) #include <sys/sysctl.h> #else #include <sys/kinfo.h> #endif +#include <sys/time.h> + +#include <errno.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> + +#include <net/route.h> +#include <net/if.h> +#include <netinet/in_systm.h> +#include <netinet/in.h> +#include <arpa/inet.h> + #include "log.h" static int IfIndex; |