Skip to content

Commit 4362cee

Browse files
committed
Add more missing constants to fcntl module
1 parent ee2f4da commit 4362cee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stdlib/src/fcntl.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ mod fcntl {
2020
// I_LINK, I_UNLINK, I_PLINK, I_PUNLINK
2121

2222
#[pyattr]
23-
use libc::{FD_CLOEXEC, F_GETFD, F_GETFL, F_SETFD, F_SETFL};
23+
use libc::{
24+
FD_CLOEXEC, F_GETFD, F_GETFL, F_SETFD, F_SETFL, LOCK_EX, LOCK_NB, LOCK_SH, LOCK_UN,
25+
};
2426

2527
#[cfg(not(target_os = "wasi"))]
2628
#[pyattr]

0 commit comments

Comments
 (0)