diff --git a/veilid-core/src/intf/native/network_interfaces/netlink.rs b/veilid-core/src/intf/native/network_interfaces/netlink.rs index 3c757637..e1f0c750 100644 --- a/veilid-core/src/intf/native/network_interfaces/netlink.rs +++ b/veilid-core/src/intf/native/network_interfaces/netlink.rs @@ -122,7 +122,7 @@ impl PlatformSupportNetlink { } cfg_if! { - if #[cfg(target_os = "android")] { + if #[cfg(any(target_os = "android", target_env = "musl"))] { let res = unsafe { ioctl(sock, SIOCGIFFLAGS as i32, &mut req) }; } else { let res = unsafe { ioctl(sock, SIOCGIFFLAGS, &mut req) };