diff options
author | Karel Zak <kzak@redhat.com> | 2009-03-11 14:00:21 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2009-03-11 14:00:21 +0100 |
commit | 929f243f79c4fdf3e89dad5134e53bf001598a5e (patch) | |
tree | 16f02b38f82ccc64bd7b199c786cc732163ae0a1 /include/blkdev.h | |
parent | db1749cf6c105a86adfc7246cb1ab60b1753f077 (diff) | |
download | util-linux-929f243f79c4fdf3e89dad5134e53bf001598a5e.tar.gz |
lib: add is_whole_disk() from fdisk code
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/blkdev.h')
-rw-r--r-- | include/blkdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/blkdev.h b/include/blkdev.h index 3cca79b9..9d9453bc 100644 --- a/include/blkdev.h +++ b/include/blkdev.h @@ -3,6 +3,8 @@ #include <sys/types.h> #include <sys/ioctl.h> +#include <fcntl.h> +#include <unistd.h> #define DEFAULT_SECTOR_SIZE 512 |