Skip to content

Commit 076dbc6

Browse files
committed
fix macos build
1 parent 23e13a7 commit 076dbc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ fn launchd_listener() -> Result<Option<UnixListener>> {
616616
use std::ffi::CString;
617617
use std::ptr;
618618

619-
extern "C" {
619+
unsafe extern "C" {
620620
fn launch_activate_socket(
621621
name: *const libc::c_char,
622622
fds: *mut *mut libc::c_int,

0 commit comments

Comments
 (0)