Skip to content

Commit

Permalink
fix conditional compilation for xdp only build
Browse files Browse the repository at this point in the history
  • Loading branch information
feschber committed Nov 7, 2024
1 parent ef92bd6 commit 1433a30
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion input-emulation/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1433a30

Please sign in to comment.