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