summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/IPXrouted/startup.c3
-rw-r--r--usr.sbin/amd/fsinfo/fsinfo.h3
-rw-r--r--usr.sbin/arp/arp.c4
-rw-r--r--usr.sbin/portmap/from_local.c9
-rw-r--r--usr.sbin/ppp/os.c10
-rw-r--r--usr.sbin/ppp/route.c20
-rw-r--r--usr.sbin/pppstats/pppstats.c10
-rw-r--r--usr.sbin/slstat/slstat.c3
-rw-r--r--usr.sbin/trpt/trpt.c1
-rw-r--r--usr.sbin/xntpd/include/ntp_if.h4
10 files changed, 44 insertions, 23 deletions
diff --git a/usr.sbin/IPXrouted/startup.c b/usr.sbin/IPXrouted/startup.c
index 66f6113..a711de3 100644
--- a/usr.sbin/IPXrouted/startup.c
+++ b/usr.sbin/IPXrouted/startup.c
@@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: startup.c,v 1.2 1995/11/13 21:01:36 julian Exp $
+ * $Id: startup.c,v 1.3 1996/02/20 23:11:24 julian Exp $
*/
#ifndef lint
@@ -50,6 +50,7 @@ static char sccsid[] = "@(#)startup.c 8.1 (Berkeley) 6/5/93";
#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/sysctl.h>
+#include <sys/time.h>
#include <net/if.h>
#include <net/if_dl.h>
diff --git a/usr.sbin/amd/fsinfo/fsinfo.h b/usr.sbin/amd/fsinfo/fsinfo.h
index 0d07e21..1483337 100644
--- a/usr.sbin/amd/fsinfo/fsinfo.h
+++ b/usr.sbin/amd/fsinfo/fsinfo.h
@@ -37,7 +37,7 @@
*
* @(#)fsinfo.h 8.1 (Berkeley) 6/6/93
*
- * $Id: fsinfo.h,v 5.2.2.1 1992/02/09 15:09:51 jsp beta $
+ * $Id: fsinfo.h,v 1.1.1.1 1994/05/26 05:22:18 rgrimes Exp $
*
*/
@@ -80,6 +80,7 @@ typedef char *voidp;
* Bogosity to deal with ether { ... }
*/
#include <sys/socket.h>
+#include <sys/time.h>
#include <netinet/in.h>
#include <net/if.h>
#include <netinet/if_ether.h>
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c
index 218f43a..9b31c6a 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;
diff --git a/usr.sbin/portmap/from_local.c b/usr.sbin/portmap/from_local.c
index 9daacba..c1d1570 100644
--- a/usr.sbin/portmap/from_local.c
+++ b/usr.sbin/portmap/from_local.c
@@ -44,13 +44,16 @@ static char sccsid[] = "@(#) from_local.c 1.2 93/11/16 21:50:02";
#endif
#include <sys/types.h>
+#include <sys/ioctl.h>
#include <sys/socket.h>
+#include <sys/time.h>
+
#include <netdb.h>
-#include <netinet/in.h>
-#include <net/if.h>
-#include <sys/ioctl.h>
#include <syslog.h>
+#include <net/if.h>
+#include <netinet/in.h>
+
#ifndef TRUE
#define TRUE 1
#define FALSE 0
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"
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;
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>
diff --git a/usr.sbin/slstat/slstat.c b/usr.sbin/slstat/slstat.c
index 5665bce..54d344d 100644
--- a/usr.sbin/slstat/slstat.c
+++ b/usr.sbin/slstat/slstat.c
@@ -23,13 +23,14 @@
#ifndef lint
static const char rcsid[] =
- "$Id: slstat.c,v 1.6 1996/10/11 18:47:10 wollman Exp $";
+ "$Id: slstat.c,v 1.7 1996/11/04 17:14:43 bde Exp $";
#endif
#include <sys/param.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/sysctl.h>
+#include <sys/time.h>
#include <ctype.h>
#include <err.h>
diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c
index 6fe933d0..5e351fa 100644
--- a/usr.sbin/trpt/trpt.c
+++ b/usr.sbin/trpt/trpt.c
@@ -55,6 +55,7 @@ static char sccsid[] = "@(#)trpt.c 8.1 (Berkeley) 6/6/93";
#define PRUREQUESTS
#include <sys/protosw.h>
#include <sys/file.h>
+#include <sys/time.h>
#include <net/route.h>
#include <net/if.h>
diff --git a/usr.sbin/xntpd/include/ntp_if.h b/usr.sbin/xntpd/include/ntp_if.h
index bc842fb..340481a 100644
--- a/usr.sbin/xntpd/include/ntp_if.h
+++ b/usr.sbin/xntpd/include/ntp_if.h
@@ -44,4 +44,8 @@
#endif /* SYS_SVR4 */
+#if defined(SYS_FREEBSD)
+#include <sys/time.h>
+#endif
+
#include <net/if.h>
OpenPOWER on IntegriCloud