diff options
Diffstat (limited to 'src/unistd.rs')
-rw-r--r-- | src/unistd.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/unistd.rs b/src/unistd.rs index dd1d8d1a..a407b26c 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -1,3 +1,5 @@ +//! Standard symbolic constants and types +//! use {NixError, NixResult, NixPath, from_ffi}; use errno::Errno; use fcntl::{fcntl, Fd, OFlag, O_NONBLOCK, O_CLOEXEC, FD_CLOEXEC}; @@ -354,7 +356,7 @@ pub fn unlink<P: NixPath>(path: P) -> NixResult<()> { #[cfg(target_os = "linux")] mod linux { - use syscall::{syscall, SYSPIVOTROOT}; + use sys::syscall::{syscall, SYSPIVOTROOT}; use errno::Errno; use {NixError, NixResult, NixPath}; |