diff options
author | johalun <johalun0@gmail.com> | 2017-01-12 13:16:09 -0800 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-01-18 22:28:16 -0800 |
commit | 398e31fa3789f0574a6ff679742dfb7639984e12 (patch) | |
tree | 534eac678766a748c6b3543da8ba448c3018ea24 /copypasta | |
parent | a2cd4b647c1058c3012348774481ade30dddd601 (diff) | |
download | alacritty-398e31fa3789f0574a6ff679742dfb7639984e12.tar.gz alacritty-398e31fa3789f0574a6ff679742dfb7639984e12.zip |
Make it run on FreeBSD
Diffstat (limited to 'copypasta')
-rw-r--r-- | copypasta/src/lib.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/copypasta/src/lib.rs b/copypasta/src/lib.rs index b498e2e9..828c23bd 100644 --- a/copypasta/src/lib.rs +++ b/copypasta/src/lib.rs @@ -40,13 +40,12 @@ pub trait Store : Load { where S: Into<String>; } -#[cfg(target_os = "linux")] +#[cfg(any(target_os = "linux", target_os = "freebsd"))] mod x11; -#[cfg(target_os = "linux")] +#[cfg(any(target_os = "linux", target_os = "freebsd"))] pub use x11::{Clipboard, Error}; #[cfg(target_os = "macos")] mod macos; #[cfg(target_os = "macos")] pub use macos::{Clipboard, Error}; - |