From 5ddf5257474e5e123fd6a10cc59dba17b8d11524 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Sat, 8 Oct 2016 20:57:30 -0700 Subject: Implement copypasta::Load for macos::Clipboard --- copypasta/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'copypasta/src/lib.rs') diff --git a/copypasta/src/lib.rs b/copypasta/src/lib.rs index 722142aa..9fe354f6 100644 --- a/copypasta/src/lib.rs +++ b/copypasta/src/lib.rs @@ -1,5 +1,9 @@ //! A cross-platform clipboard library +// This has to be here due to macro_use +#[cfg(target_os = "macos")] +#[macro_use] extern crate objc; + /// Types that can get the system clipboard contents pub trait Load : Sized { /// Errors encountered when working with a clipboard. Each implementation is -- cgit