From 299fe7fcd922bf1682e30ec39c602afd679421f2 Mon Sep 17 00:00:00 2001 From: Roma Sokolov Date: Wed, 19 Nov 2014 15:20:18 +0300 Subject: Fix for Linux --- src/errno.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/errno.rs b/src/errno.rs index 160c655c..fd91d012 100644 --- a/src/errno.rs +++ b/src/errno.rs @@ -556,8 +556,8 @@ mod consts { EHWPOISON = 133, } - pub const EWOULDBLOCK: Errno = EAGAIN; - pub const EDEADLOCK: Errno = EDEADLK; + pub const EWOULDBLOCK: Errno = Errno::EAGAIN; + pub const EDEADLOCK: Errno = Errno::EDEADLK; } #[cfg(any(target_os = "macos", target_os = "ios"))] -- cgit v1.2.3