summaryrefslogtreecommitdiff
path: root/libre/syslinux/fix-undefined-type-umode_t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/syslinux/fix-undefined-type-umode_t.patch')
-rw-r--r--libre/syslinux/fix-undefined-type-umode_t.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/syslinux/fix-undefined-type-umode_t.patch b/libre/syslinux/fix-undefined-type-umode_t.patch
new file mode 100644
index 000000000..cfec1ad90
--- /dev/null
+++ b/libre/syslinux/fix-undefined-type-umode_t.patch
@@ -0,0 +1,11 @@
+--- syslinux-4.05.orig/libinstaller/linuxioctl.h 2011-12-09 16:28:17.000000000 -0200
++++ syslinux-4.05/libinstaller/linuxioctl.h 2012-05-20 22:05:50.521380781 -0300
+@@ -19,7 +19,7 @@
+
+ #undef SECTOR_SIZE /* Defined in msdos_fs.h for no good reason */
+ #undef SECTOR_BITS
+-#include <linux/ext2_fs.h> /* EXT2_IOC_* */
++#include <ext2fs/ext2_fs.h> /* EXT2_IOC_* */
+
+ #ifndef FAT_IOCTL_GET_ATTRIBUTES
+ # define FAT_IOCTL_GET_ATTRIBUTES _IOR('r', 0x10, __u32)