From d407606db4fb000435360f14c6378f419ae536bc Mon Sep 17 00:00:00 2001 From: Mark McCaskey Date: Mon, 1 Jul 2019 16:59:25 -0700 Subject: [PATCH] fix issue with linux --- lib/emscripten/src/syscalls/unix.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/emscripten/src/syscalls/unix.rs b/lib/emscripten/src/syscalls/unix.rs index 63706fb02d6..6ce54ebb6b2 100644 --- a/lib/emscripten/src/syscalls/unix.rs +++ b/lib/emscripten/src/syscalls/unix.rs @@ -7,7 +7,6 @@ use libc::{ accept, access, bind, - c_char, c_int, c_void, chown, @@ -92,7 +91,7 @@ extern "C" { pub fn wait4(pid: pid_t, status: *mut c_int, options: c_int, rusage: *mut rusage) -> pid_t; pub fn madvise(addr: *mut c_void, len: size_t, advice: c_int) -> c_int; pub fn fdatasync(fd: c_int) -> c_int; - pub fn lstat64(path: *const c_char, buf: *mut c_void) -> c_int; + pub fn lstat64(path: *const libc::c_char, buf: *mut c_void) -> c_int; } #[cfg(not(target_os = "macos"))]