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/os.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/os.c')
-rw-r--r-- | usr.sbin/ppp/os.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.sbin/ppp/os.c b/usr.sbin/ppp/os.c index e67a6a2..f7e7057 100644 --- a/usr.sbin/ppp/os.c +++ b/usr.sbin/ppp/os.c @@ -17,22 +17,26 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: os.c,v 1.6 1996/05/13 07:20:11 phk Exp $ + * $Id: os.c,v 1.7 1996/06/03 21:35:21 gpalmer Exp $ * */ #include "fsm.h" #include <sys/param.h> #include <sys/socket.h> -#include <net/route.h> #if BSD >= 199206 || _BSDI_VERSION >= 199312 #include <sys/select.h> #endif #include <sys/ioctl.h> +#include <sys/time.h> + #include <fcntl.h> +#include <errno.h> + #include <net/if.h> #include <net/if_tun.h> +#include <net/route.h> #include <arpa/inet.h> -#include <errno.h> + #include "ipcp.h" #include "os.h" #include "vars.h" |