File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed
src/unix/linux_like/linux/gnu/b64/x86_64 Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -3382,7 +3382,7 @@ fn test_linux(target: &str) {
33823382 // LFS64 types have been removed in musl 1.2.4+
33833383 "off64_t" if musl => "off_t" . to_string ( ) ,
33843384 // In some gnu targets `stat64` is a typedef to `stat`
3385- "stat64" | "statfs64" if gnu => format ! ( "struct {}" , ty) ,
3385+ "stat64" | "statfs64" | "statvfs64" if gnu => format ! ( "struct {}" , ty) ,
33863386
33873387 // typedefs don't need any keywords
33883388 t if t. ends_with ( "_t" ) => t. to_string ( ) ,
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ pub type __u64 = ::c_ulonglong;
1010pub type __s64 = :: c_longlong ;
1111
1212pub type statfs64 = statfs ;
13+ pub type statvfs64 = statvfs ;
1314
1415s ! {
1516 pub struct sigaction {
@@ -116,21 +117,6 @@ s! {
116117 __reserved: [ i64 ; 3 ] ,
117118 }
118119
119- pub struct statvfs64 {
120- pub f_bsize: :: c_ulong,
121- pub f_frsize: :: c_ulong,
122- pub f_blocks: u64 ,
123- pub f_bfree: u64 ,
124- pub f_bavail: u64 ,
125- pub f_files: u64 ,
126- pub f_ffree: u64 ,
127- pub f_favail: u64 ,
128- pub f_fsid: :: c_ulong,
129- pub f_flag: :: c_ulong,
130- pub f_namemax: :: c_ulong,
131- __f_spare: [ :: c_int; 6 ] ,
132- }
133-
134120 pub struct pthread_attr_t {
135121 #[ cfg( target_pointer_width = "32" ) ]
136122 __size: [ u32 ; 8 ] ,
You can’t perform that action at this time.
0 commit comments