mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-29 08:00:55 +03:00
fix conditional compilation for xdp only build
This commit is contained in:
@@ -6,7 +6,11 @@ pub enum InputEmulationError {
|
||||
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 std::io;
|
||||
use thiserror::Error;
|
||||
|
||||
Reference in New Issue
Block a user