18
18
definitions") ]
19
19
#![ allow( deprecated) ]
20
20
21
+ use os:: raw:: c_long;
22
+
21
23
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ] pub type blkcnt_t = u64 ;
22
24
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ] pub type blksize_t = u64 ;
23
25
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ] pub type dev_t = u64 ;
@@ -49,17 +51,17 @@ pub struct stat {
49
51
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
50
52
pub st_rdev : u32 ,
51
53
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
52
- pub st_atime : i64 ,
54
+ pub st_atime : c_long ,
53
55
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
54
- pub st_atime_nsec : i64 ,
56
+ pub st_atime_nsec : c_long ,
55
57
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
56
- pub st_mtime : i64 ,
58
+ pub st_mtime : c_long ,
57
59
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
58
- pub st_mtime_nsec : i64 ,
60
+ pub st_mtime_nsec : c_long ,
59
61
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
60
- pub st_ctime : i64 ,
62
+ pub st_ctime : c_long ,
61
63
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
62
- pub st_ctime_nsec : i64 ,
64
+ pub st_ctime_nsec : c_long ,
63
65
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
64
66
pub st_size : i64 ,
65
67
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
@@ -73,7 +75,7 @@ pub struct stat {
73
75
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
74
76
pub st_lspare : i32 ,
75
77
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
76
- pub st_birthtime : i64 ,
78
+ pub st_birthtime : c_long ,
77
79
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
78
- pub st_birthtime_nsec : i64 ,
80
+ pub st_birthtime_nsec : c_long ,
79
81
}
0 commit comments