diff options
author | 2000-04-30 17:30:34 +0000 | |
---|---|---|
committer | 2000-04-30 17:30:34 +0000 | |
commit | a15214829f36b2b11e239cb52ecf144c15760180 (patch) | |
tree | 0fa03f31bd7b5a343da5694dd847aee06dac3640 | |
parent | Fix typo introduced in mkstemp addition. (diff) | |
download | wireguard-openbsd-a15214829f36b2b11e239cb52ecf144c15760180.tar.xz wireguard-openbsd-a15214829f36b2b11e239cb52ecf144c15760180.zip |
Add missing fcntl.h
-rw-r--r-- | sbin/reboot/reboot.c | 5 |
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> |