@@ -394,6 +394,12 @@ pub mod types {
394
394
pub type ssize_t = i64 ;
395
395
}
396
396
pub mod posix01 {
397
+ use libc:: types:: os:: arch:: c95:: { c_long, time_t} ;
398
+ use libc:: types:: os:: arch:: c99:: { uint8_t, uint32_t, int32_t} ;
399
+ use libc:: types:: os:: arch:: posix88:: { dev_t, gid_t, ino_t} ;
400
+ use libc:: types:: os:: arch:: posix88:: { mode_t, off_t} ;
401
+ use libc:: types:: os:: arch:: posix88:: { uid_t} ;
402
+
397
403
pub type nlink_t = u16 ;
398
404
pub type blksize_t = i64 ;
399
405
pub type blkcnt_t = i64 ;
@@ -436,6 +442,12 @@ pub mod types {
436
442
pub mod os {
437
443
pub mod common {
438
444
pub mod posix01 {
445
+ use libc:: types:: os:: arch:: c95:: { c_int, c_short} ;
446
+ use libc:: types:: os:: arch:: c99:: int64_t;
447
+ use libc:: types:: os:: arch:: extra:: time64_t;
448
+ use libc:: types:: os:: arch:: posix88:: { dev_t, gid_t, ino_t} ;
449
+ use libc:: types:: os:: arch:: posix88:: mode_t;
450
+
439
451
// Note: this is the struct called stat64 in win32. Not stat,
440
452
// nor stati64.
441
453
pub struct stat {
@@ -576,6 +588,11 @@ pub mod types {
576
588
pub type ssize_t = i32 ;
577
589
}
578
590
pub mod posix01 {
591
+ use libc:: types:: os:: arch:: c95:: { c_long, time_t} ;
592
+ use libc:: types:: os:: arch:: c99:: { uint32_t, int32_t, int64_t} ;
593
+ use libc:: types:: os:: arch:: posix88:: { dev_t, gid_t, ino_t,
594
+ mode_t, uid_t} ;
595
+
579
596
pub type nlink_t = u16 ;
580
597
pub type blksize_t = i64 ;
581
598
pub type blkcnt_t = i32 ;
0 commit comments