redox import fixes for timespec
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
use core::mem::size_of;
|
||||
|
||||
use crate::header::{
|
||||
bits_time::timespec,
|
||||
fcntl::{O_CLOEXEC, O_CREAT, O_RDWR},
|
||||
signal::sigset_t,
|
||||
time::timespec,
|
||||
};
|
||||
|
||||
use super::libredox::RawResult;
|
||||
|
||||
@@ -10,7 +10,7 @@ use syscall::{EMFILE, Error, Result};
|
||||
|
||||
use crate::{
|
||||
header::{
|
||||
errno::EINVAL, signal::sigaction, sys_stat::UTIME_NOW, sys_uio::iovec, time::timespec,
|
||||
bits_time::timespec, errno::EINVAL, signal::sigaction, sys_stat::UTIME_NOW, sys_uio::iovec,
|
||||
},
|
||||
out::Out,
|
||||
platform::{PalSignal, types::*},
|
||||
|
||||
@@ -3,9 +3,10 @@ use syscall::Error;
|
||||
use crate::{
|
||||
error::{Errno, Result},
|
||||
header::{
|
||||
bits_time::timespec,
|
||||
errno::EIO,
|
||||
signal::{SIGEV_SIGNAL, SIGEV_THREAD},
|
||||
time::{timer_internal_t, timespec},
|
||||
time::timer_internal_t,
|
||||
},
|
||||
out::Out,
|
||||
platform::{Pal, Sys, sys::event, types::c_void},
|
||||
|
||||
Reference in New Issue
Block a user