1
Fork 0

Add a type prefix to fix build

Apparently this file's use annotations have changed since I last pulled
on my test machine.
This commit is contained in:
Michael McConville 2015-12-17 21:24:14 -05:00
parent 5f59e1c8f9
commit cf03ceed14

View file

@ -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 {