diff --git a/src/unix/notbsd/android/b32.rs b/src/unix/notbsd/android/b32.rs index 8ae2c2e38040dcfc31ae704744fabb793b8893df..9cc469f11405be7ba703ae57073ccf2144cf41db 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 d869b8cf618c97b02a8117a5382485f591dd2da1..45fd961581a4dd99700e5846a92dabf2cda21cc8 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 2511a1b77c82199034a136d9405bda2c2a456c35..c081ecfaf028f11d92a230346aaeecd71b8f6d98 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;