Skip to content

Commit 299fe7f

Browse files
committed
Fix for Linux
1 parent 44885b2 commit 299fe7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/errno.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,8 +556,8 @@ mod consts {
556556
EHWPOISON = 133,
557557
}
558558

559-
pub const EWOULDBLOCK: Errno = EAGAIN;
560-
pub const EDEADLOCK: Errno = EDEADLK;
559+
pub const EWOULDBLOCK: Errno = Errno::EAGAIN;
560+
pub const EDEADLOCK: Errno = Errno::EDEADLK;
561561
}
562562

563563
#[cfg(any(target_os = "macos", target_os = "ios"))]

0 commit comments

Comments
 (0)