diff --git a/lib/std/c.zig b/lib/std/c.zig index 294ff0f449..337e602e77 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -7900,6 +7900,14 @@ pub const Stat = switch (native_os) { pub const pthread_spinlock_t = switch (native_os) { .openbsd => openbsd.pthread_spinlock_t, + .freebsd => extern struct { + inner: ?*anyopaque = null, + }, + .netbsd => extern struct { + pts_magic: c_uint, + spin: pthread_spin_t, + pts_flags: c_int, + }, .windows => isize, else => c_int, };