Skip to content

Commit 88bd2d7

Browse files
committed
DragonFly/FreeBSD: Make ss_sp *mut c_void as in the other implementations
This fixes compiling Rust.
1 parent e7ff66b commit 88bd2d7

File tree

1 file changed

+1
-1
lines changed
  • src/unix/bsd/freebsdlike

1 file changed

+1
-1
lines changed

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ s! {
8181
}
8282

8383
pub struct stack_t {
84-
pub ss_sp: *mut ::c_char,
84+
pub ss_sp: *mut ::c_void,
8585
pub ss_size: ::size_t,
8686
pub ss_flags: ::c_int,
8787
}

0 commit comments

Comments
 (0)