From cb4d1263396be07d316c2e9a1c55b0185deee80c Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sat, 8 Nov 2025 08:31:31 -0700 Subject: [PATCH] Fix pid_t type on redox --- src/unix/redox/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/unix/redox/mod.rs b/src/unix/redox/mod.rs index ad2a6d75a34f..36069f7e109a 100644 --- a/src/unix/redox/mod.rs +++ b/src/unix/redox/mod.rs @@ -28,7 +28,6 @@ pub type suseconds_t = c_int; pub type tcflag_t = u32; pub type time_t = c_longlong; pub type id_t = c_uint; -pub type pid_t = usize; pub type uid_t = c_int; pub type gid_t = c_int; @@ -247,7 +246,7 @@ s! { } pub struct ucred { - pub pid: pid_t, + pub pid: crate::pid_t, pub uid: uid_t, pub gid: gid_t, }