diff --git a/libc-test/semver/fuchsia.txt b/libc-test/semver/fuchsia.txt index f7bca9ab2e9c..12f67d8b4c60 100644 --- a/libc-test/semver/fuchsia.txt +++ b/libc-test/semver/fuchsia.txt @@ -1446,6 +1446,7 @@ sigwait sigwaitinfo sockaddr_ll sockaddr_nl +sockaddr_vm splice spwd srand diff --git a/src/fuchsia/mod.rs b/src/fuchsia/mod.rs index 7bd8078e43a9..f9a7ed929eaa 100644 --- a/src/fuchsia/mod.rs +++ b/src/fuchsia/mod.rs @@ -357,6 +357,14 @@ s! { pub sin6_scope_id: u32, } + pub struct sockaddr_vm { + pub svm_family: sa_family_t, + pub svm_reserved1: c_ushort, + pub svm_port: crate::in_port_t, + pub svm_cid: c_uint, + pub svm_zero: [u8; 4], + } + pub struct addrinfo { pub ai_flags: c_int, pub ai_family: c_int,