summaryrefslogtreecommitdiff
path: root/sbin/fdisk/part.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2014-03-20 13:18:22 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2014-03-20 13:18:22 +0000
commit2f920980dcb9b4edb06b0c053c166fb911a02e5d (patch)
treec52102defdb16aebbb0f394a6cdd494d2f6f237b /sbin/fdisk/part.c
parenta68c48590df2cac21eb52bfed7538f52532cf987 (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.c3
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>