logind: do not include dbus code without dbus dependency
This commit is contained in:
parent
51b5b39b75
commit
107b18a4c1
|
@ -160,6 +160,9 @@ impl AsErrno for () {
|
|||
}
|
||||
|
||||
pub mod auto;
|
||||
mod dbus;
|
||||
pub mod direct;
|
||||
|
||||
#[cfg(feature="backend_session_logind")]
|
||||
mod dbus;
|
||||
#[cfg(feature="backend_session_logind")]
|
||||
pub use self::dbus::*;
|
||||
|
|
Loading…
Reference in New Issue