diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-27 01:55:31 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-27 01:55:31 +0000 |
commit | 71167b473f40b343f0fb955de113883d4f9f1549 (patch) | |
tree | 04a17bf25d7e2bc57032e2687d3bdeb86295114a /sbin | |
parent | 1c23282a9a6f261299f6c5f9b5579dbeef3b51c2 (diff) |
Pull in <sys/time.h> for struct timespec
ok deraadt@
Diffstat (limited to 'sbin')
-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> |