aboutsummaryrefslogtreecommitdiffstats
path: root/linux/syslinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/syslinux.c')
-rw-r--r--linux/syslinux.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/linux/syslinux.c b/linux/syslinux.c
index 34d591b7..888df3d9 100644
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
@@ -46,14 +46,7 @@
#include <sys/wait.h>
#include <sys/mount.h>
-#include <sys/ioctl.h>
-#include <linux/fs.h> /* FIGETBSZ, FIBMAP */
-#include <linux/msdos_fs.h> /* FAT_IOCTL_SET_ATTRIBUTES */
-#ifndef FAT_IOCTL_SET_ATTRIBUTES
-# define FAT_IOCTL_SET_ATTRIBUTES _IOW('r', 0x11, uint32_t)
-#endif
-#undef SECTOR_SIZE
-#undef SECTOR_SHIFT
+#include "linuxioctl.h"
#include <paths.h>
#ifndef _PATH_MOUNT