From b707959c2c0ae97c2225c2e6dbc07fc754125458 Mon Sep 17 00:00:00 2001 From: Michael Neumann Date: Sat, 29 Aug 2015 22:54:17 +0200 Subject: Make it work on DragonFly/FreeBSD Tested on DragonFly BSD. Should work similarily on FreeBSD. --- src/api/x11/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/x11') diff --git a/src/api/x11/mod.rs b/src/api/x11/mod.rs index 1ba6bc7..39b99f3 100644 --- a/src/api/x11/mod.rs +++ b/src/api/x11/mod.rs @@ -1,4 +1,4 @@ -#![cfg(all(target_os = "linux", feature = "window"))] +#![cfg(all(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"), feature = "window"))] pub use self::monitor::{MonitorID, get_available_monitors, get_primary_monitor}; pub use self::window::{Window, XWindow, PollEventsIterator, WaitEventsIterator, Context, WindowProxy}; -- cgit v1.2.3