Commit 6fc5923a54

Lukas Lalinsky <lukas@lalinsky.com>
2025-11-14 18:01:57
Define std.c.MADV for openbsd
1 parent 3a08d2f
Changed files (1)
lib
std
lib/std/c.zig
@@ -1599,7 +1599,7 @@ pub const MADV = switch (native_os) {
         pub const SEQUENTIAL = 0x5;
         pub const RANDOM = 0x6;
     },
-    .netbsd => struct {
+    .netbsd, .openbsd => struct {
         pub const NORMAL = 0;
         pub const RANDOM = 1;
         pub const SEQUENTIAL = 2;