From f29b1fc3b0aac6105f8a881cb680c930f294ddb1 Mon Sep 17 00:00:00 2001 From: Ashwin Naren Date: Sun, 18 May 2025 20:00:47 -0700 Subject: [PATCH] add os constants --- vm/src/stdlib/os.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vm/src/stdlib/os.rs b/vm/src/stdlib/os.rs index 08a5051fe7..2bd30d4545 100644 --- a/vm/src/stdlib/os.rs +++ b/vm/src/stdlib/os.rs @@ -169,6 +169,11 @@ pub(super) mod _os { O_APPEND, O_CREAT, O_EXCL, O_RDONLY, O_RDWR, O_TRUNC, O_WRONLY, SEEK_CUR, SEEK_END, SEEK_SET, }; + #[cfg(unix)] + #[pyattr] + use libc::{ + CLD_CONTINUED, CLD_DUMPED, CLD_EXITED, CLD_KILLED, CLD_STOPPED, CLD_TRAPPED + }; #[pyattr] pub(crate) const F_OK: u8 = 0;