diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -46,6 +46,10 @@ extern crate cocoa; extern crate core_foundation; #[cfg(target_os = "macos")] extern crate glutin_core_graphics as core_graphics; +#[cfg(any(target_os = "linux", target_os = "freebsd"))] +extern crate x11; +#[cfg(all(any(target_os = "linux", target_os = "freebsd"), feature="headless"))] +extern crate osmesa_sys; pub use events::*; #[cfg(feature = "headless")] |