diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-03-20 13:18:22 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-03-20 13:18:22 +0000 |
commit | 2f920980dcb9b4edb06b0c053c166fb911a02e5d (patch) | |
tree | c52102defdb16aebbb0f394a6cdd494d2f6f237b /sbin/fdisk/cmd.c | |
parent | a68c48590df2cac21eb52bfed7538f52532cf987 (diff) |
Add back various #includes of err.h, unistd.h, ctype.h, ioctl.h to
eliminate multiple 'implicit' declarations introduced by the previous
over-zealous #include cleanup.
Thanks to to tedu@ for pointing out how -Wall reveals all.
Diffstat (limited to 'sbin/fdisk/cmd.c')
-rw-r--r-- | sbin/fdisk/cmd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/fdisk/cmd.c b/sbin/fdisk/cmd.c index 0930053fbc0..da3e1b8ba72 100644 --- a/sbin/fdisk/cmd.c +++ b/sbin/fdisk/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.68 2014/03/17 16:40:00 krw Exp $ */ +/* $OpenBSD: cmd.c,v 1.69 2014/03/20 13:18:21 krw Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -28,13 +28,16 @@ #include <sys/types.h> #include <sys/fcntl.h> #include <sys/disklabel.h> +#include <err.h> #include <errno.h> #include <stdio.h> #include <memory.h> #include <stdlib.h> #include <signal.h> +#include <unistd.h> #include "disk.h" +#include "misc.h" #include "part.h" #include "mbr.h" #include "user.h" |