summaryrefslogtreecommitdiff
path: root/linux/syslinux.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-06-16 11:44:27 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-06-16 11:44:27 -0700
commit51735fc532ba1ed079a30ba9734936bf2670c87b (patch)
tree67ef80d1c9dc632266bff968b2120b11c96ca14e /linux/syslinux.c
parent76d5e47c0ddec4f5d792d8753056ab46e5fc9e8c (diff)
downloadsyslinux-51735fc532ba1ed079a30ba9734936bf2670c87b.tar.gz
Move Linux ioctl header magic into a single file
Put all the Linux ioctl header magic into a single shared file, and try to make it as generally useful as possible. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
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