summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 01:56:08 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 01:56:08 +0000
commit115792448b66156dd34b5aca64d21379bcc218db (patch)
tree5a3a11d14d57e50f812deaaeb4360e446fe4baa4
parent71167b473f40b343f0fb955de113883d4f9f1549 (diff)
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.c4
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>