From cafd7c96f18a8beed8e1328bdabdb29f1434689f Mon Sep 17 00:00:00 2001 From: Mattis Marjak Date: Fri, 4 Dec 2015 01:16:44 +0200 Subject: allow improper_ctypes for size_t --- src/unistd.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/unistd.rs') diff --git a/src/unistd.rs b/src/unistd.rs index 506f0ef9..3d210c44 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -16,6 +16,7 @@ mod ffi { use libc::{c_char, c_int, size_t}; pub use libc::{fork, close, read, write, pipe, ftruncate, unlink, setpgid, getegid, geteuid, getgid, getpid, getppid, getuid}; + #[allow(improper_ctypes)] extern { // duplicate a file descriptor // doc: http://man7.org/linux/man-pages/man2/dup.2.html -- cgit v1.2.3