From f8499e533a1c8658bfa4dcb06de8d4cc3ced6ebc Mon Sep 17 00:00:00 2001 From: Victor Brekenfeld Date: Thu, 22 Nov 2018 09:44:05 +0100 Subject: [PATCH] libinput: fix warning when not building backend_session --- src/backend/libinput.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/libinput.rs b/src/backend/libinput.rs index 8ffc7e1..199575e 100644 --- a/src/backend/libinput.rs +++ b/src/backend/libinput.rs @@ -6,6 +6,8 @@ use backend::{input as backend, input::Axis}; use input as libinput; use input::event; +#[cfg(feature = "backend_session")] +use std::path::Path; use std::{ collections::hash_map::{DefaultHasher, Entry, HashMap}, hash::{Hash, Hasher},