diff --git a/src/wasi.rs b/src/wasi.rs index 3412e435..ee368adf 100644 --- a/src/wasi.rs +++ b/src/wasi.rs @@ -1053,7 +1053,7 @@ extern { pub fn uselocale(loc: ::locale_t) -> ::locale_t; pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> (); - pub fn FD_ISSET(fd: ::c_int, set: *mut fd_set) -> bool; + pub fn FD_ISSET(fd: ::c_int, set: *const fd_set) -> bool; pub fn FD_SET(fd: ::c_int, set: *mut fd_set) -> (); pub fn FD_ZERO(set: *mut fd_set) -> ();