summaryrefslogtreecommitdiffstats
path: root/copypasta
diff options
context:
space:
mode:
authorMatt T. Proud <matt.proud@gmail.com>2018-04-03 08:52:41 +0200
committerJoe Wilm <jwilm@users.noreply.github.com>2018-04-14 10:17:50 -0700
commit1b7ffea136f55236729258ddbc6841282de91ae9 (patch)
treecd26df7193b0eb94b93768fd1bf329a724d3326c /copypasta
parent3d75c491912952d2a18fb34ab81221b1bded07d5 (diff)
alacritty: add support for OpenBSD.
This commit expands the conditional compilation directives to support building Alacritty for OpenBSD. The build succeeds, and Alacritty runs without issue once https://github.com/rust-lang/libc/pull/957 has been merged and added to a versioned libc release. This has been tested on the recently-released OpenBSD 6.3 on amd64 with rustc 1.24.0 from its standard ports tree.
Diffstat (limited to 'copypasta')
-rw-r--r--copypasta/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/copypasta/src/lib.rs b/copypasta/src/lib.rs
index 74e556a9..2857ce82 100644
--- a/copypasta/src/lib.rs
+++ b/copypasta/src/lib.rs
@@ -63,9 +63,9 @@ pub trait Store : Load {
}
}
-#[cfg(any(target_os = "linux", target_os = "freebsd"))]
+#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "openbsd"))]
mod x11;
-#[cfg(any(target_os = "linux", target_os = "freebsd"))]
+#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "openbsd"))]
pub use x11::{Clipboard, Error};
#[cfg(target_os = "macos")]