summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/blkdev.h2
-rw-r--r--include/wholedisk.h7
2 files changed, 9 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
diff --git a/include/wholedisk.h b/include/wholedisk.h
new file mode 100644
index 00000000..f367e401
--- /dev/null
+++ b/include/wholedisk.h
@@ -0,0 +1,7 @@
+#ifndef WHOLEDISK_H
+#define WHOLEDISK_H
+
+extern int is_whole_disk(const char *name);
+
+#endif /* WHOLEDISK_H */
+