diff options
author | Mateusz Mikuła <mati865@gmail.com> | 2018-07-04 18:43:48 +0200 |
---|---|---|
committer | Mateusz Mikuła <mati865@gmail.com> | 2018-07-04 20:35:31 +0200 |
commit | 27043ec8df9d82c554f19802e172d946f3d3c0b7 (patch) | |
tree | 4039f23a27b8460e2555d59dd5d38a6c3b47f98b /src/unix/notbsd | |
parent | 8a9b980a8402fde4c7dec14050ec75d742cc1acb (diff) | |
download | rust-libc-27043ec8df9d82c554f19802e172d946f3d3c0b7.tar.gz |
Add ENOATTR for Android
Diffstat (limited to 'src/unix/notbsd')
-rw-r--r-- | src/unix/notbsd/android/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unix/notbsd/android/mod.rs b/src/unix/notbsd/android/mod.rs index 53f957d3e8..55adc5c8d6 100644 --- a/src/unix/notbsd/android/mod.rs +++ b/src/unix/notbsd/android/mod.rs @@ -1458,6 +1458,9 @@ pub const SIOCSRARP: ::c_ulong = 0x00008962; pub const SIOCGIFMAP: ::c_ulong = 0x00008970; pub const SIOCSIFMAP: ::c_ulong = 0x00008971; +// Similarity to Linux it's not used but defined for compatibility. +pub const ENOATTR: ::c_int = ::ENODATA; + f! { pub fn CPU_ZERO(cpuset: &mut cpu_set_t) -> () { for slot in cpuset.__bits.iter_mut() { |