From a835e25e606ba80c8a9a6fe75e647cf532ee1bcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 13 Oct 2026 20:56:26 +0200 Subject: [PATCH] std.c: define cpu_set_t for dragonfly --- lib/std/c.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/std/c.zig b/lib/std/c.zig index 570d798e4ddf38232bf4b65bc01d13d7e6e896d7..df97daac1cfdf40db41437117ffa7bffecc6324d 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -4093,6 +4093,9 @@ pub const clock_t = switch (native_os) { pub const cpu_set_t = switch (native_os) { .linux => linux.cpu_set_t, .emscripten => emscripten.cpu_set_t, + .dragonfly => extern struct { + ary: [4]u64, + }, else => void, }; pub const dl_phdr_info = switch (native_os) { -- 2.54.0