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) {...@@ -9025,12 +9025,16 @@ pub const termios = switch (native_os) {
9025 },9025 },
9026 .haiku => extern struct {9026 .haiku => extern struct {
9027 iflag: tc_iflag_t,9027 iflag: tc_iflag_t,
9028 ispeed: u16,
9028 oflag: tc_oflag_t,9029 oflag: tc_oflag_t,
9030 ospeed: u16,
9029 cflag: tc_cflag_t,9031 cflag: tc_cflag_t,
9032 ispeed_high: u16,
9030 lflag: tc_lflag_t,9033 lflag: tc_lflag_t,
9034 ospeed_high: u16,
9031 line: cc_t,9035 line: cc_t,
9032 ispeed: speed_t,9036 _pad1: u8 = 0,
9033 ospeed: speed_t,9037 _pad2: u8 = 0,
9034 cc: [NCCS]cc_t,9038 cc: [NCCS]cc_t,
9035 },9039 },
9036 .illumos => extern struct {9040 .illumos => extern struct {