summaryrefslogtreecommitdiff
path: root/test/sys
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2016-11-19 19:06:13 -0700
committerAlan Somers <asomers@gmail.com>2016-11-19 20:37:08 -0700
commitb983240ef137c5c38a5554413381fb26d1c2e0f9 (patch)
tree6bad2efc345394567a0f0c7ace7dedd0c5f7986c /test/sys
parente983d20bd6be3dde43ed4a7f9f6e63eda19872b3 (diff)
downloadnix-b983240ef137c5c38a5554413381fb26d1c2e0f9.zip
Add TimeSpec, a Newtype around libc::timespec
Also, add trait TimeValLike, so some code can be shared between TimeSpec and TimeVal.
Diffstat (limited to 'test/sys')
-rw-r--r--test/sys/test_select.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sys/test_select.rs b/test/sys/test_select.rs
index f1349923..53990f65 100644
--- a/test/sys/test_select.rs
+++ b/test/sys/test_select.rs
@@ -1,5 +1,5 @@
use nix::sys::select::{FdSet, FD_SETSIZE, select};
-use nix::sys::time::TimeVal;
+use nix::sys::time::{TimeVal, TimeValLike};
use nix::unistd::{write, pipe};
#[test]