aboutsummaryrefslogtreecommitdiffstats
path: root/unix/syslinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/syslinux.c')
-rw-r--r--unix/syslinux.c4
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"