From 460fb7424f08380539f44caffbbd5b25ade91d33 Mon Sep 17 00:00:00 2001 From: mekosko Date: Mon, 12 Aug 2024 23:01:42 +0500 Subject: [PATCH] fix: use c_char from crate root --- src/unix/bsd/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/bsd/mod.rs b/src/unix/bsd/mod.rs index e2b5121b03911..83e675ca3474d 100644 --- a/src/unix/bsd/mod.rs +++ b/src/unix/bsd/mod.rs @@ -128,7 +128,7 @@ s_no_extra_traits! { pub struct sockaddr_un { pub sun_len: u8, pub sun_family: sa_family_t, - pub sun_path: [c_char; 104] + pub sun_path: [::c_char; 104] } pub struct utsname {