aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.rs2
-rw-r--r--src/tty.rs2
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 {
diff --git a/src/tty.rs b/src/tty.rs
index 21c9659d..166a788e 100644
--- a/src/tty.rs
+++ b/src/tty.rs
@@ -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;