drop unused libc imports on L4Re
As a capability-based microkernel OS, L4Re only has incomplete support for POSIX APIs, in particular it does not implement UIDs and GIDs.
This commit is contained in:
parent
11b717647e
commit
898f379817
1 changed files with 4 additions and 1 deletions
|
|
@ -27,7 +27,10 @@ use crate::sys::weak::weak;
|
|||
use libc::RTP_ID as pid_t;
|
||||
|
||||
#[cfg(not(target_os = "vxworks"))]
|
||||
use libc::{c_int, gid_t, pid_t, uid_t};
|
||||
use libc::{c_int, pid_t};
|
||||
|
||||
#[cfg(not(any(target_os = "vxworks", target_os = "l4re")))]
|
||||
use libc::{gid_t, uid_t};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Command
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue