1diff --git a/src/sys/unix/uds/mod.rs b/src/sys/unix/uds/mod.rs
2--- a/src/sys/unix/uds/mod.rs      2024-12-04 12:59:24.448227940 +0000
3+++ b/src/sys/unix/uds/mod.rs      2024-12-04 15:02:27.953261346 +0000
4@@ -158,6 +158,9 @@
5     #[test]
6     #[cfg(any(target_os = "android", target_os = "linux"))]
7     fn abstract_address() {
8+        #[cfg(target_os = "android")]
9+        use std::os::android::net::SocketAddrExt;
10+        #[cfg(target_os = "linux")]
11         use std::os::linux::net::SocketAddrExt;
12
13         const PATH: &[u8] = &[0, 116, 111, 107, 105, 111];
14