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:
Benjamin Lamowski 2021-05-31 15:00:11 +02:00
parent 11b717647e
commit 898f379817

View file

@ -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