]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - fdisk/fdisksunlabel.c
Imported from util-linux-2.10s tarball.
[thirdparty/util-linux.git] / fdisk / fdisksunlabel.c
index 3ec5624a120038425ed0702ee397bd9d059c6e86..f96cb0b15225b6f0ace6b1518262b223e069a36a 100644 (file)
@@ -67,6 +67,12 @@ get_num_sectors(struct sun_partition p) {
        return SSWAP32(p.num_sectors);
 }
 
+#ifndef IDE0_MAJOR
+#define IDE0_MAJOR 3
+#endif
+#ifndef IDE1_MAJOR
+#define IDE1_MAJOR 22
+#endif
 void guess_device_type(int fd) {
        struct stat bootstat;