redox import fixes for timespec

This commit is contained in:
auronandace
2026-02-12 13:16:23 +00:00
parent 1191d8e1b4
commit bb48f68968
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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::*},
+2 -1
View File
@@ -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},