diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-08-16 18:43:12 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-08-16 18:43:12 +0000 |
commit | e298578c6f4bc5c991d43826dfa64e426cf75566 (patch) | |
tree | 51fc79ff631ad67e4bf83cd7ca306df2fd777b8a /sbin | |
parent | d3d6038e81f317292429b667c4a912fb2768032f (diff) |
we need to include sys/wait.h since we use waitpid here
Diffstat (limited to 'sbin')
-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 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> |