build: introduce sd-bus-provider option

This allows to select a specific provider for the sd-bus library.
This commit is contained in:
Simon Ser 2020-12-02 23:46:49 +01:00 committed by Brian Ashworth
parent 968c005760
commit fdbe98512a
5 changed files with 29 additions and 16 deletions

View file

@ -2,9 +2,9 @@
#define _SWAYBAR_TRAY_TRAY_H
#include "config.h"
#ifdef HAVE_SYSTEMD
#ifdef HAVE_LIBSYSTEMD
#include <systemd/sd-bus.h>
#elif HAVE_ELOGIND
#elif HAVE_LIBELOGIND
#include <elogind/sd-bus.h>
#endif
#include <cairo.h>