Skip to content

Commit cf03cee

Browse files
committed
Add a type prefix to fix build
Apparently this file's use annotations have changed since I last pulled on my test machine.
1 parent 5f59e1c commit cf03cee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ impl Iterator for ReadDir {
127127

128128
fn next(&mut self) -> Option<io::Result<DirEntry>> {
129129
extern {
130-
fn rust_dirent_t_size() -> size_t;
130+
fn rust_dirent_t_size() -> libc::size_t;
131131
}
132132

133133
let mut buf: Vec<u8> = Vec::with_capacity(unsafe {

0 commit comments

Comments
 (0)