From bdb9abc4e9346047cfd0bb4b92f078d6275f3ec1 Mon Sep 17 00:00:00 2001 From: Matthias Koenig Date: Thu, 6 Nov 2008 15:24:24 +0100 Subject: [PATCH] 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 --- fdisk/partname.c | 4 ++++ 1 file changed, 4 insertions(+) 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" /* -- 2.39.5