From eb61353d59b104537cbcd4914614eba5cdfa7f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 13 Oct 2026 21:00:21 +0200 Subject: [PATCH] std.c: define pthread_spinlock_t for dragonfly --- lib/std/c.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/c.zig b/lib/std/c.zig index df97daac1cfdf40db41437117ffa7bffecc6324d..bfc9d144ce332d3abc8c332aaf4a430ace6fb7a8 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -8013,7 +8013,7 @@ pub const Stat = switch (native_os) { pub const pthread_spinlock_t = switch (native_os) { .openbsd => openbsd.pthread_spinlock_t, - .freebsd => extern struct { + .freebsd, .dragonfly => extern struct { inner: ?*anyopaque = null, }, .netbsd => extern struct { -- 2.54.0