--- libinstaller/linuxioctl.h 2011-04-18 23:24:17.000000000 +0200 +++ libinstaller/linuxioctl.h 2012-05-08 11:20:12.864813538 +0200 @@ -19,6 +19,7 @@ #undef SECTOR_SIZE /* Defined in msdos_fs.h for no good reason */ #undef SECTOR_BITS +typedef unsigned short umode_t; /* moved into __KERNEL__ */ #include /* EXT2_IOC_* */ #ifndef FAT_IOCTL_GET_ATTRIBUTES