logind: do not include dbus code without dbus dependency

This commit is contained in:
Victor Brekenfeld 2020-06-27 23:26:52 +02:00
parent 51b5b39b75
commit 107b18a4c1
1 changed files with 4 additions and 1 deletions

View File

@ -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::*;