summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-08-16 18:43:12 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-08-16 18:43:12 +0000
commite298578c6f4bc5c991d43826dfa64e426cf75566 (patch)
tree51fc79ff631ad67e4bf83cd7ca306df2fd777b8a /sbin
parentd3d6038e81f317292429b667c4a912fb2768032f (diff)
we need to include sys/wait.h since we use waitpid here
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 60347fa6cae..68b25587365 100644
--- a/sbin/reboot/reboot.c
+++ b/sbin/reboot/reboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: reboot.c,v 1.15 1999/07/19 00:10:00 deraadt Exp $ */
+/* $OpenBSD: reboot.c,v 1.16 1999/08/16 18:43:11 art Exp $ */
/* $NetBSD: reboot.c,v 1.8 1995/10/05 05:36:22 mycroft Exp $ */
/*
@@ -44,13 +44,14 @@ 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.15 1999/07/19 00:10:00 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: reboot.c,v 1.16 1999/08/16 18:43:11 art Exp $";
#endif
#endif /* not lint */
#include <sys/types.h>
#include <sys/reboot.h>
#include <sys/fcntl.h>
+#include <sys/wait.h>
#include <signal.h>
#include <pwd.h>
#include <errno.h>