diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-02-01 10:51:01 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-02-01 10:51:01 -0800 |
commit | 1a1900a2eda610f90180e120e33fa0474f6e84a9 (patch) | |
tree | e1d37753319bd59af8b8c104a4832330d156eb33 | |
parent | 81dc0b0f79bdec8b91574f3ae6782c3e36f20d97 (diff) | |
download | syslinux-1a1900a2eda610f90180e120e33fa0474f6e84a9.tar.gz |
Unix FAT installer: #include <sys/ioctl.h>, FAT_IOCTL_SET_ATTRIBUTES
#include <sys/ioctl.h>, and provide a backup definition for
FAT_IOCTL_SET_ATTRIBUTES.
-rw-r--r-- | unix/syslinux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/syslinux.c b/unix/syslinux.c index 308e52fd..8f924ad7 100644 --- a/unix/syslinux.c +++ b/unix/syslinux.c @@ -46,8 +46,12 @@ #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, SECTOR_* */ +#ifndef FAT_IOCTL_SET_ATTRIBUTES +# define FAT_IOCTL_SET_ATTRIBUTES _IOW('r', 0x11, uint32_t) +#endif #include "syslinux.h" |