aboutsummaryrefslogtreecommitdiff
path: root/copypasta
diff options
context:
space:
mode:
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};
-