Skip to content

Commit

Permalink
Add sockaddr_vm definition for Fuchsia
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesr committed Dec 11, 2024
1 parent 0fb7389 commit aea472e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/fuchsia.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,7 @@ sigwait
sigwaitinfo
sockaddr_ll
sockaddr_nl
sockaddr_vm
splice
spwd
srand
Expand Down
5 changes: 3 additions & 2 deletions src/fuchsia/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,10 @@ s! {

pub struct sockaddr_vm {
pub svm_family: sa_family_t,
pub svm_reserved: u16,

pub svm_reserved: c_ushort,
pub svm_port: crate::in_port_t,
pub svm_cid: u32,
pub svm_cid: c_uint,
pub svm_zero: [u8; 4],
}

Expand Down

0 comments on commit aea472e

Please sign in to comment.