summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sys/socket.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/socket.rs b/src/sys/socket.rs
index 9bc49119..36d181b5 100644
--- a/src/sys/socket.rs
+++ b/src/sys/socket.rs
@@ -1,4 +1,5 @@
use std::{mem, ptr, fmt};
+use std::num::Int;
use libc::{c_void, c_int, socklen_t, size_t, ssize_t};
use fcntl::{Fd, fcntl, F_SETFL, F_SETFD, FD_CLOEXEC, O_NONBLOCK};
use errno::{SysResult, SysError, from_ffi};