From 2f920980dcb9b4edb06b0c053c166fb911a02e5d Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Thu, 20 Mar 2014 13:18:22 +0000 Subject: 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. --- sbin/fdisk/cmd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sbin/fdisk/cmd.c') 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 #include #include +#include #include #include #include #include #include +#include #include "disk.h" +#include "misc.h" #include "part.h" #include "mbr.h" #include "user.h" -- cgit v1.2.3