summaryrefslogtreecommitdiff
path: root/src/sys/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r--src/sys/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs
index c7fdc4dc..de449b76 100644
--- a/src/sys/mod.rs
+++ b/src/sys/mod.rs
@@ -16,6 +16,9 @@ pub mod memfd;
#[cfg(not(any(target_os = "ios", target_os = "freebsd", target_os = "dragonfly")))]
pub mod ioctl;
+#[cfg(any(target_os = "linux", target_os = "android"))]
+pub mod sendfile;
+
pub mod signal;
#[cfg(any(target_os = "linux", target_os = "android"))]