[PATCH] fdisk: add some missing includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently these missing includes prevent that HDIO_GETGEO
is defined, so is_probably_full_disk always uses the
"silly heuristic" method.

Signed-off-by: Matthias Koenig <mkoenig@xxxxxxx>
---

 fdisk/partname.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/fdisk/partname.c b/fdisk/partname.c
index 7c71c0d..beac4b6 100644
--- a/fdisk/partname.c
+++ b/fdisk/partname.c
@@ -1,6 +1,9 @@
 #include <ctype.h>
 #include <stdio.h>
 #include <string.h>
+#include <sys/types.h>
+#include <fcntl.h>
+#include "blkdev.h"
 #include "common.h"
 
 /*

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux