Skip to content

Commit

Permalink
Add ucred type to uclibc for all archs
Browse files Browse the repository at this point in the history
  • Loading branch information
zvirja committed Nov 27, 2019
1 parent 581ba35 commit 7335d1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/unix/uclibc/mod.rs
Expand Up @@ -288,6 +288,12 @@ s! {
pub msgtql: ::c_int,
pub msgseg: ::c_ushort,
}

pub struct ucred {
pub pid: ::pid_t,
pub uid: ::uid_t,
pub gid: ::gid_t,
}
}

s_no_extra_traits! {
Expand Down

0 comments on commit 7335d1e

Please sign in to comment.