diff --git a/src/unix/notbsd/linux/musl/mod.rs b/src/unix/notbsd/linux/musl/mod.rs index ab20d4c749de515bec0a213056559db55eac764a..2e61343cf18943fdfecec4e033a844cda274f562 100644 --- a/src/unix/notbsd/linux/musl/mod.rs +++ b/src/unix/notbsd/linux/musl/mod.rs @@ -72,6 +72,12 @@ s! { pub mem_unit: ::c_uint, pub __reserved: [::c_char; 256], } + + pub struct ucred { + pub pid: ::pid_t, + pub uid: ::uid_t, + pub gid: ::gid_t, + } } pub const SFD_CLOEXEC: ::c_int = 0x080000;