File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
libsanitizer/sanitizer_common Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 72
72
#include < sys/vt.h>
73
73
#include < linux/cdrom.h>
74
74
#include < linux/fd.h>
75
+ #if SANITIZER_ANDROID
75
76
#include < linux/fs.h>
77
+ #endif
76
78
#include < linux/hdreg.h>
77
79
#include < linux/input.h>
78
80
#include < linux/ioctl.h>
@@ -828,10 +830,10 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
828
830
unsigned IOCTL_EVIOCGPROP = IOCTL_NOT_PRESENT;
829
831
unsigned IOCTL_EVIOCSKEYCODE_V2 = IOCTL_NOT_PRESENT;
830
832
#endif
831
- unsigned IOCTL_FS_IOC_GETFLAGS = FS_IOC_GETFLAGS ;
832
- unsigned IOCTL_FS_IOC_GETVERSION = FS_IOC_GETVERSION ;
833
- unsigned IOCTL_FS_IOC_SETFLAGS = FS_IOC_SETFLAGS ;
834
- unsigned IOCTL_FS_IOC_SETVERSION = FS_IOC_SETVERSION ;
833
+ unsigned IOCTL_FS_IOC_GETFLAGS = _IOR( ' f ' , 1 , long ) ;
834
+ unsigned IOCTL_FS_IOC_GETVERSION = _IOR( ' v ' , 1 , long ) ;
835
+ unsigned IOCTL_FS_IOC_SETFLAGS = _IOW( ' f ' , 2 , long ) ;
836
+ unsigned IOCTL_FS_IOC_SETVERSION = _IOW( ' v ' , 2 , long ) ;
835
837
unsigned IOCTL_GIO_CMAP = GIO_CMAP;
836
838
unsigned IOCTL_GIO_FONT = GIO_FONT;
837
839
unsigned IOCTL_GIO_UNIMAP = GIO_UNIMAP;
You can’t perform that action at this time.
0 commit comments