summaryrefslogtreecommitdiffstats
path: root/copypasta
diff options
context:
space:
mode:
authorjohalun <johalun0@gmail.com>2017-01-12 13:16:09 -0800
committerJoe Wilm <jwilm@users.noreply.github.com>2017-01-18 22:28:16 -0800
commit398e31fa3789f0574a6ff679742dfb7639984e12 (patch)
tree534eac678766a748c6b3543da8ba448c3018ea24 /copypasta
parenta2cd4b647c1058c3012348774481ade30dddd601 (diff)
Make it run on FreeBSD
Diffstat (limited to 'copypasta')
-rw-r--r--copypasta/src/lib.rs5
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};
-