summaryrefslogtreecommitdiff
path: root/src/ifaddrs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ifaddrs.rs')
-rw-r--r--src/ifaddrs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ifaddrs.rs b/src/ifaddrs.rs
index 61d36ff4..c9790773 100644
--- a/src/ifaddrs.rs
+++ b/src/ifaddrs.rs
@@ -32,7 +32,7 @@ pub struct InterfaceAddress {
}
cfg_if! {
- if #[cfg(any(target_os = "emscripten", target_os = "fuchsia", target_os = "linux"))] {
+ if #[cfg(any(target_os = "android", target_os = "emscripten", target_os = "fuchsia", target_os = "linux"))] {
fn get_ifu_from_sockaddr(info: &libc::ifaddrs) -> *const libc::sockaddr {
info.ifa_ifu
}