diff --git a/vendor/libc-0.2.174/src/unix/mod.rs b/vendor/libc-0.2.174/src/unix/mod.rs index 1234567..abcdefg 100644 --- a/vendor/libc-0.2.174/src/unix/mod.rs +++ b/vendor/libc-0.2.174/src/unix/mod.rs @@ -67,7 +67,7 @@ s! { // linux x32 compatibility // See https://sourceware.org/bugzilla/show_bug.cgi?id=16437 - #[cfg(not(target_env = "gnu"))] + #[cfg(any(not(target_env = "gnu"), target_os = "macos"))] pub struct timespec { pub tv_sec: time_t, #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]