Skip to content

Commit 7335d1e

Browse files
committed
Add ucred type to uclibc for all archs
1 parent 581ba35 commit 7335d1e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/unix/uclibc/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,12 @@ s! {
288288
pub msgtql: ::c_int,
289289
pub msgseg: ::c_ushort,
290290
}
291+
292+
pub struct ucred {
293+
pub pid: ::pid_t,
294+
pub uid: ::uid_t,
295+
pub gid: ::gid_t,
296+
}
291297
}
292298

293299
s_no_extra_traits! {

0 commit comments

Comments
 (0)