authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-15 01:50:21+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-22 22:15:31+02:00
log143b69d52fe68454cd142832e5fc031d98eecc3c
tree8d8aa593a448a3cb654357edab6660efd6b4b0fa
parenteeed9ce598fca623d593d7867b2e07c98d4ae74e
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.c: fix termios layout for haiku


1 files changed, 6 insertions(+), 2 deletions(-)

lib/std/c.zig+6-2
......@@ -9025,12 +9025,16 @@ pub const termios = switch (native_os) {
90259025 },
90269026 .haiku => extern struct {
90279027 iflag: tc_iflag_t,
9028 ispeed: u16,
90289029 oflag: tc_oflag_t,
9030 ospeed: u16,
90299031 cflag: tc_cflag_t,
9032 ispeed_high: u16,
90309033 lflag: tc_lflag_t,
9034 ospeed_high: u16,
90319035 line: cc_t,
9032 ispeed: speed_t,
9033 ospeed: speed_t,
9036 _pad1: u8 = 0,
9037 _pad2: u8 = 0,
90349038 cc: [NCCS]cc_t,
90359039 },
90369040 .illumos => extern struct {