mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-18 18:51:29 +03:00
fix conditional compilation for xdp only build
This commit is contained in:
@@ -6,7 +6,11 @@ pub enum InputEmulationError {
|
|||||||
Emulate(#[from] EmulationError),
|
Emulate(#[from] EmulationError),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(unix, feature = "libei", not(target_os = "macos")))]
|
#[cfg(all(
|
||||||
|
unix,
|
||||||
|
any(feature = "xdg_desktop_portal", feature = "libei"),
|
||||||
|
not(target_os = "macos")
|
||||||
|
))]
|
||||||
use ashpd::{desktop::ResponseError, Error::Response};
|
use ashpd::{desktop::ResponseError, Error::Response};
|
||||||
use std::io;
|
use std::io;
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
|
|||||||
Reference in New Issue
Block a user