summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-04-30 17:30:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-04-30 17:30:35 +0000
commit5a19e612433c6ed34c1b787c6cfc01b7efeb58c1 (patch)
tree7c4b84043628d5d066ddd3390677575d95ca7f6d /sbin
parentf742732991ca3c2cfb7505205c25e5effff80971 (diff)
Add missing fcntl.h
Diffstat (limited to 'sbin')
-rw-r--r--sbin/reboot/reboot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c
index d8e78ad3564..f32a7f0a880 100644
--- a/sbin/reboot/reboot.c
+++ b/sbin/reboot/reboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: reboot.c,v 1.17 1999/09/03 18:11:50 deraadt Exp $ */
+/* $OpenBSD: reboot.c,v 1.18 2000/04/30 17:30:34 millert Exp $ */
/* $NetBSD: reboot.c,v 1.8 1995/10/05 05:36:22 mycroft Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)reboot.c 8.1 (Berkeley) 6/5/93";
#else
-static char rcsid[] = "$OpenBSD: reboot.c,v 1.17 1999/09/03 18:11:50 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: reboot.c,v 1.18 2000/04/30 17:30:34 millert Exp $";
#endif
#endif /* not lint */
@@ -56,6 +56,7 @@ static char rcsid[] = "$OpenBSD: reboot.c,v 1.17 1999/09/03 18:11:50 deraadt Exp
#include <pwd.h>
#include <errno.h>
#include <err.h>
+#include <fcntl.h>
#include <syslog.h>
#include <unistd.h>
#include <stdio.h>