diff --git a/src/unix/redox/mod.rs b/src/unix/redox/mod.rs index 747d98cc8fb7e..f2a2d629585a4 100644 --- a/src/unix/redox/mod.rs +++ b/src/unix/redox/mod.rs @@ -819,6 +819,8 @@ pub const __WCLONE: ::c_int = 0x8000_0000; // time.h pub const CLOCK_REALTIME: ::c_int = 1; pub const CLOCK_MONOTONIC: ::c_int = 4; +pub const CLOCK_PROCESS_CPUTIME_ID: ::clockid_t = 2; +pub const CLOCKS_PER_SEC: ::clock_t = 1_000_000; // unistd.h // POSIX.1 {