Skip to content

Commit 33c96c9

Browse files
jackpot51JohnTitor
authored andcommitted
Fix pid_t type on redox
1 parent eda627e commit 33c96c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/unix/redox/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ pub type suseconds_t = c_int;
2828
pub type tcflag_t = u32;
2929
pub type time_t = c_longlong;
3030
pub type id_t = c_uint;
31-
pub type pid_t = usize;
3231
pub type uid_t = c_int;
3332
pub type gid_t = c_int;
3433

@@ -247,7 +246,7 @@ s! {
247246
}
248247

249248
pub struct ucred {
250-
pub pid: pid_t,
249+
pub pid: crate::pid_t,
251250
pub uid: uid_t,
252251
pub gid: gid_t,
253252
}

0 commit comments

Comments
 (0)