diff --git a/src/unix/notbsd/android/b32.rs b/src/unix/notbsd/android/b32.rs index 8ae2c2e38040d..9cc469f11405b 100644 --- a/src/unix/notbsd/android/b32.rs +++ b/src/unix/notbsd/android/b32.rs @@ -1,3 +1,5 @@ +pub type mode_t = u16; + s! { pub struct sigaction { pub sa_sigaction: ::sighandler_t, diff --git a/src/unix/notbsd/android/b64.rs b/src/unix/notbsd/android/b64.rs index d869b8cf618c9..45fd961581a4d 100644 --- a/src/unix/notbsd/android/b64.rs +++ b/src/unix/notbsd/android/b64.rs @@ -1,3 +1,5 @@ +pub type mode_t = u32; + s! { pub struct sigaction { pub sa_flags: ::c_uint, diff --git a/src/unix/notbsd/android/mod.rs b/src/unix/notbsd/android/mod.rs index 2511a1b77c821..c081ecfaf028f 100644 --- a/src/unix/notbsd/android/mod.rs +++ b/src/unix/notbsd/android/mod.rs @@ -13,7 +13,6 @@ pub type ino_t = u32; pub type blkcnt_t = u32; pub type blksize_t = u32; pub type dev_t = u32; -pub type mode_t = u16; pub type nlink_t = u32; pub type useconds_t = u32; pub type socklen_t = i32;