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/part.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/part.c')
-rw-r--r-- | sbin/fdisk/part.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/fdisk/part.c b/sbin/fdisk/part.c index 369593091e4..4e78a056d2d 100644 --- a/sbin/fdisk/part.c +++ b/sbin/fdisk/part.c @@ -1,4 +1,4 @@ -/* $OpenBSD: part.c,v 1.59 2014/03/17 16:40:00 krw Exp $ */ +/* $OpenBSD: part.c,v 1.60 2014/03/20 13:18:21 krw Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -27,6 +27,7 @@ #include <sys/types.h> #include <sys/disklabel.h> +#include <err.h> #include <stdio.h> #include <string.h> |