From 23ec78dbc117859198ed1fa5bf7d93055899dc7a Mon Sep 17 00:00:00 2001 From: guenther Date: Sat, 27 Aug 2016 01:50:07 +0000 Subject: [PATCH] Pull in for struct timespec, timeval, or clockrate ok deraadt@ --- usr.sbin/kgmon/kgmon.c | 3 ++- usr.sbin/ntpd/sensors.c | 3 ++- usr.sbin/rbootd/utils.c | 3 ++- usr.sbin/sensorsd/sensorsd.c | 3 ++- usr.sbin/snmpd/timer.c | 3 ++- usr.sbin/trpt/trpt.c | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/usr.sbin/kgmon/kgmon.c b/usr.sbin/kgmon/kgmon.c index 7d53f4b7829..357e4325414 100644 --- a/usr.sbin/kgmon/kgmon.c +++ b/usr.sbin/kgmon/kgmon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kgmon.c,v 1.23 2015/11/16 17:29:43 deraadt Exp $ */ +/* $OpenBSD: kgmon.c,v 1.24 2016/08/27 01:50:07 guenther Exp $ */ /* * Copyright (c) 1983, 1992, 1993 @@ -31,6 +31,7 @@ #include #include +#include #include #include #include diff --git a/usr.sbin/ntpd/sensors.c b/usr.sbin/ntpd/sensors.c index 971276e80e4..d9273bea390 100644 --- a/usr.sbin/ntpd/sensors.c +++ b/usr.sbin/ntpd/sensors.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sensors.c,v 1.50 2015/05/20 13:32:39 reyk Exp $ */ +/* $OpenBSD: sensors.c,v 1.51 2016/08/27 01:50:07 guenther Exp $ */ /* * Copyright (c) 2006 Henning Brauer @@ -18,6 +18,7 @@ #include #include +#include #include #include #include diff --git a/usr.sbin/rbootd/utils.c b/usr.sbin/rbootd/utils.c index 28a9654137b..13b321b2beb 100644 --- a/usr.sbin/rbootd/utils.c +++ b/usr.sbin/rbootd/utils.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utils.c,v 1.15 2016/05/29 02:19:02 guenther Exp $ */ +/* $OpenBSD: utils.c,v 1.16 2016/08/27 01:50:07 guenther Exp $ */ /* $NetBSD: utils.c,v 1.5.2.1 1995/11/14 08:45:46 thorpej Exp $ */ /* @@ -43,6 +43,7 @@ * Author: Jeff Forys, University of Utah CSS */ +#include #include #include #include diff --git a/usr.sbin/sensorsd/sensorsd.c b/usr.sbin/sensorsd/sensorsd.c index 8374be81642..4c0750c6648 100644 --- a/usr.sbin/sensorsd/sensorsd.c +++ b/usr.sbin/sensorsd/sensorsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sensorsd.c,v 1.59 2015/12/12 20:04:23 mmcc Exp $ */ +/* $OpenBSD: sensorsd.c,v 1.60 2016/08/27 01:50:07 guenther Exp $ */ /* * Copyright (c) 2003 Henning Brauer @@ -21,6 +21,7 @@ #include #include #include +#include #include #include diff --git a/usr.sbin/snmpd/timer.c b/usr.sbin/snmpd/timer.c index 6d9778c8451..ab4670c1431 100644 --- a/usr.sbin/snmpd/timer.c +++ b/usr.sbin/snmpd/timer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: timer.c,v 1.4 2015/01/16 00:05:13 deraadt Exp $ */ +/* $OpenBSD: timer.c,v 1.5 2016/08/27 01:50:07 guenther Exp $ */ /* * Copyright (c) 2008 Reyk Floeter @@ -18,6 +18,7 @@ #include #include +#include #include #include #include diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c index d266eb2d827..47ff59753b7 100644 --- a/usr.sbin/trpt/trpt.c +++ b/usr.sbin/trpt/trpt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trpt.c,v 1.32 2015/11/20 15:52:57 deraadt Exp $ */ +/* $OpenBSD: trpt.c,v 1.33 2016/08/27 01:50:07 guenther Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -60,6 +60,7 @@ */ #include +#include #include #define PRUREQUESTS #include -- 2.20.1