From cf03ceed14683419d1b6c9a04141f415b982348f Mon Sep 17 00:00:00 2001 From: Michael McConville Date: Thu, 17 Dec 2015 21:24:14 -0500 Subject: [PATCH] Add a type prefix to fix build Apparently this file's use annotations have changed since I last pulled on my test machine. --- src/libstd/sys/unix/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/sys/unix/fs.rs b/src/libstd/sys/unix/fs.rs index 4b4310a1477..8ff3a892c06 100644 --- a/src/libstd/sys/unix/fs.rs +++ b/src/libstd/sys/unix/fs.rs @@ -127,7 +127,7 @@ impl Iterator for ReadDir { fn next(&mut self) -> Option> { extern { - fn rust_dirent_t_size() -> size_t; + fn rust_dirent_t_size() -> libc::size_t; } let mut buf: Vec = Vec::with_capacity(unsafe {