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:
parent
5f59e1c8f9
commit
cf03ceed14
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue