diff --git a/src/header/bits_timeval/mod.rs b/src/header/bits_timeval/mod.rs index 81cd4419a9..6aeed7b984 100644 --- a/src/header/bits_timeval/mod.rs +++ b/src/header/bits_timeval/mod.rs @@ -13,3 +13,6 @@ pub struct timeval { pub tv_sec: time_t, pub tv_usec: suseconds_t, } + +#[unsafe(no_mangle)] +pub unsafe extern "C" fn cbindgen_export_timeval(_: timeval) {}