From: Matthias Koenig Date: Thu, 6 Nov 2008 14:24:24 +0000 (+0100) Subject: fdisk: add some missing includes X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ee3f81faedf297f087bd6c83456fef5898d490e;p=util-linux fdisk: add some missing includes Currently these missing includes prevent that HDIO_GETGEO is defined, so is_probably_full_disk always uses the "silly heuristic" method. [kzak@redhat.com: add also unistd.h] Signed-off-by: Matthias Koenig Signed-off-by: Karel Zak --- diff --git a/fdisk/partname.c b/fdisk/partname.c index 7c71c0dd..2d629edf 100644 --- a/fdisk/partname.c +++ b/fdisk/partname.c @@ -1,6 +1,10 @@ #include #include #include +#include +#include +#include +#include "blkdev.h" #include "common.h" /*