about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/sys/thread_local/destructors/linux.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/thread_local/destructors/linux.rs b/library/std/src/sys/thread_local/destructors/linux.rs
index e00ca9a91bd..c381be0bf8c 100644
--- a/library/std/src/sys/thread_local/destructors/linux.rs
+++ b/library/std/src/sys/thread_local/destructors/linux.rs
@@ -25,7 +25,7 @@ pub unsafe fn register(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) {
     #[cfi_encoding = "i"]
     #[repr(transparent)]
     #[allow(non_camel_case_types)]
-    pub struct c_int(#[allow(dead_code)] pub libc::c_int);
+    pub struct c_int(#[allow(dead_code)] pub core::ffi::c_int);
 
     extern "C" {
         #[linkage = "extern_weak"]