diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config.rs | 2 | ||||
-rw-r--r-- | src/tty.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs index f8e6490d..814b726b 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1611,7 +1611,7 @@ impl Default for Font { } } -#[cfg(any(target_os = "linux",target_os = "freebsd"))] +#[cfg(any(target_os = "linux",target_os = "freebsd",target_os = "openbsd"))] impl Default for Font { fn default() -> Font { Font { @@ -87,7 +87,7 @@ fn openpty(rows: u8, cols: u8) -> (c_int, c_int) { (master, slave) } -#[cfg(any(target_os = "macos",target_os = "freebsd"))] +#[cfg(any(target_os = "macos",target_os = "freebsd",target_os = "openbsd"))] fn openpty(rows: u8, cols: u8) -> (c_int, c_int) { let mut master: c_int = 0; let mut slave: c_int = 0; |