Applied suggestions by 'nemo' and drop 'basu' subproject

This commit is contained in:
haruInDisguise 2024-11-17 23:22:29 +01:00
parent b55d5a6739
commit 0d7a05af55
5 changed files with 18 additions and 8 deletions

13
modules/dbus.h Normal file
View file

@ -0,0 +1,13 @@
#pragma once
// This header provides an generic interface for different versions of
// systemd-sdbus.
#if defined(HAVE_LIBSYSTEMD)
#include <systemd/sd-bus.h>
#elif defined(HAVE_LIBELOGIND)
#include <elogind/sd-bus.h>
#elif defined(HAVE_BASU)
#include <basu/sd-bus.h>
#endif