libinput: fix warning when not building backend_session

This commit is contained in:
Victor Brekenfeld 2018-11-22 09:44:05 +01:00
parent 9e5dad4c23
commit f8499e533a
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ use backend::{input as backend, input::Axis};
use input as libinput; use input as libinput;
use input::event; use input::event;
#[cfg(feature = "backend_session")]
use std::path::Path;
use std::{ use std::{
collections::hash_map::{DefaultHasher, Entry, HashMap}, collections::hash_map::{DefaultHasher, Entry, HashMap},
hash::{Hash, Hasher}, hash::{Hash, Hasher},