diff --git a/src/header/bits_time/mod.rs b/src/header/bits_time/mod.rs index c5f31b07f5..c564826efc 100644 --- a/src/header/bits_time/mod.rs +++ b/src/header/bits_time/mod.rs @@ -66,3 +66,6 @@ impl timespec { return self.tv_nsec == 0 && self.tv_sec == 0; } } + +#[unsafe(no_mangle)] +pub unsafe extern "C" fn cbindgen_stupid_alias_timespec(_: timespec) {}