diff options
author | 2016-08-27 01:55:30 +0000 | |
---|---|---|
committer | 2016-08-27 01:55:30 +0000 | |
commit | ae0936ccb228e6bf0ecb2983acc0b5d3d3e84e4b (patch) | |
tree | 2314e4224860fbc1142e16e4b1e12de409b89718 | |
parent | Pull in <sys/time.h> for struct timespec, timeval, or clockrate (diff) | |
download | wireguard-openbsd-ae0936ccb228e6bf0ecb2983acc0b5d3d3e84e4b.tar.xz wireguard-openbsd-ae0936ccb228e6bf0ecb2983acc0b5d3d3e84e4b.zip |
Pull in <sys/time.h> for struct timespec
ok deraadt@
-rw-r--r-- | sbin/init/init.c | 5 | ||||
-rw-r--r-- | sbin/sysctl/sysctl.c | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c index 16ac88febef..308838ec3eb 100644 --- a/sbin/init/init.c +++ b/sbin/init/init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init.c,v 1.59 2016/05/10 21:54:59 bluhm Exp $ */ +/* $OpenBSD: init.c,v 1.60 2016/08/27 01:55:30 guenther Exp $ */ /* $NetBSD: init.c,v 1.22 1996/05/15 23:29:33 jtc Exp $ */ /*- @@ -34,9 +34,10 @@ */ #include <sys/types.h> +#include <sys/reboot.h> #include <sys/sysctl.h> +#include <sys/time.h> #include <sys/wait.h> -#include <sys/reboot.h> #include <machine/cpu.h> #include <db.h> diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index 19da662b94f..c15aea3006a 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.217 2016/08/14 22:54:56 guenther Exp $ */ +/* $OpenBSD: sysctl.c,v 1.218 2016/08/27 01:55:30 guenther Exp $ */ /* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */ /* @@ -37,6 +37,7 @@ #include <sys/shm.h> #include <sys/sysctl.h> #include <sys/socket.h> +#include <sys/time.h> #include <sys/malloc.h> #include <sys/uio.h> #include <sys/tty.h> |