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.
1 parent f016aa5 commit c69a01cCopy full SHA for c69a01c
library/std/src/sys/unix/process/process_unix.rs
@@ -12,12 +12,12 @@ use crate::sys::process::process_common::*;
12
#[cfg(target_os = "vxworks")]
13
use libc::RTP_ID as pid_t;
14
15
-#[cfg(not(target_os = "vxworks"))]
16
-use libc::{c_int, gid_t, pid_t, uid_t};
17
-#[cfg(not(target_os = "l4re"))]
18
-use libc::{gid_t, uid_t};
+#[cfg(target_os = "l4re")]
19
use libc::{c_int, pid_t};
20
+#[cfg(not(any(target_os = "vxworks", target_os = "l4re")))]
+use libc::{c_int, gid_t, pid_t, uid_t};
+
21
////////////////////////////////////////////////////////////////////////////////
22
// Command
23
0 commit comments