summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/fs/constants.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/fs/constants.rs')
-rw-r--r--vendor/rustix/src/fs/constants.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/rustix/src/fs/constants.rs b/vendor/rustix/src/fs/constants.rs
index 3ccc383bb..ef677aa49 100644
--- a/vendor/rustix/src/fs/constants.rs
+++ b/vendor/rustix/src/fs/constants.rs
@@ -11,7 +11,7 @@ pub use backend::fs::types::AtFlags;
#[cfg(apple)]
pub use backend::fs::types::{CloneFlags, CopyfileFlags};
-#[cfg(any(target_os = "android", target_os = "linux"))]
+#[cfg(linux_kernel)]
pub use backend::fs::types::*;
-pub use backend::time::types::{Nsecs, Secs, Timespec};
+pub use crate::timespec::{Nsecs, Secs, Timespec};