diff options
author | 2016-08-27 01:56:07 +0000 | |
---|---|---|
committer | 2016-08-27 01:56:07 +0000 | |
commit | 9efb13d0cc3a036874de33ea53827b6fe0191f4d (patch) | |
tree | 4b70cb59eb143e07dc9e999c28a113a7645541b7 | |
parent | Pull in <sys/time.h> for struct timespec (diff) | |
download | wireguard-openbsd-9efb13d0cc3a036874de33ea53827b6fe0191f4d.tar.xz wireguard-openbsd-9efb13d0cc3a036874de33ea53827b6fe0191f4d.zip |
Pull in <sys/time.h> for struct timespec
<sys/fcntl.h> shouldn't be used by userspace; this already uses <fcntl.h>
ok deraadt@
-rw-r--r-- | sbin/reboot/reboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c index eb28ad184f1..266e6df9927 100644 --- a/sbin/reboot/reboot.c +++ b/sbin/reboot/reboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: reboot.c,v 1.34 2015/01/16 06:40:00 deraadt Exp $ */ +/* $OpenBSD: reboot.c,v 1.35 2016/08/27 01:56:07 guenther Exp $ */ /* $NetBSD: reboot.c,v 1.8 1995/10/05 05:36:22 mycroft Exp $ */ /* @@ -32,8 +32,8 @@ #include <sys/types.h> #include <sys/reboot.h> -#include <sys/fcntl.h> #include <sys/sysctl.h> +#include <sys/time.h> #include <sys/wait.h> #include <machine/cpu.h> #include <signal.h> |