We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b76911e + d982ea6 commit e446f66Copy full SHA for e446f66
libc-test/build.rs
@@ -3150,6 +3150,9 @@ fn test_linux(target: &str) {
3150
| "UDP_SEGMENT"
3151
if uclibc => true,
3152
3153
+ // headers conflicts with linux/pidfd.h
3154
+ "PIDFD_NONBLOCK" => true,
3155
+
3156
_ => false,
3157
}
3158
});
src/unix/linux_like/linux/gnu/mod.rs
@@ -597,6 +597,7 @@ pub const RTLD_DI_TLS_MODID: ::c_int = 9;
597
pub const RTLD_DI_TLS_DATA: ::c_int = 10;
598
599
pub const SOCK_NONBLOCK: ::c_int = O_NONBLOCK;
600
+pub const PIDFD_NONBLOCK: ::c_uint = O_NONBLOCK as ::c_uint;
601
602
pub const SOL_RXRPC: ::c_int = 272;
603
pub const SOL_PPPOL2TP: ::c_int = 273;
0 commit comments