summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppstats
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/pppstats
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/pppstats')
-rw-r--r--usr.sbin/pppstats/pppstats.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/pppstats/pppstats.c b/usr.sbin/pppstats/pppstats.c
index 18bb7e6..5ae1809 100644
--- a/usr.sbin/pppstats/pppstats.c
+++ b/usr.sbin/pppstats/pppstats.c
@@ -37,18 +37,20 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: pppstats.c,v 1.11 1995/07/11 06:41:45 paulus Exp $";
+static char rcsid[] = "$Id: pppstats.c,v 1.6 1995/10/31 21:41:59 peter Exp $";
#endif
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/time.h>
+
#include <ctype.h>
#include <errno.h>
#include <nlist.h>
#include <stdio.h>
#include <signal.h>
#include <fcntl.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/ioctl.h>
#include <net/ppp_defs.h>
OpenPOWER on IntegriCloud