diff options
| author | Michael McConville <mmcco@mykolab.com> | 2015-12-17 21:24:14 -0500 |
|---|---|---|
| committer | Michael McConville <mmcco@mykolab.com> | 2015-12-17 21:24:14 -0500 |
| commit | cf03ceed14683419d1b6c9a04141f415b982348f (patch) | |
| tree | d2d53b1f89b58fd6cc76046d186a51d6af774409 /src/libstd/sys | |
| parent | 5f59e1c8f9fcd31eae199514abf9d59d09f336c0 (diff) | |
Add a type prefix to fix build
Apparently this file's use annotations have changed since I last pulled on my test machine.
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/unix/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<io::Result<DirEntry>> { extern { - fn rust_dirent_t_size() -> size_t; + fn rust_dirent_t_size() -> libc::size_t; } let mut buf: Vec<u8> = Vec::with_capacity(unsafe { |
