summaryrefslogtreecommitdiff
path: root/src/sched.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sched.rs')
-rw-r--r--src/sched.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sched.rs b/src/sched.rs
index 74c23072..9de1bd10 100644
--- a/src/sched.rs
+++ b/src/sched.rs
@@ -2,7 +2,8 @@ use std::mem;
use std::os::unix::io::RawFd;
use std::option::Option;
use libc::{self, c_int, c_void};
-use {Errno, Error, Result};
+use {Error, Result};
+use errno::Errno;
use ::unistd::Pid;
// For some functions taking with a parameter of type CloneFlags,