mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
meson: rename HAVE_SYSTEMD_DAEMON to HAVE_SYSTEMD
This variable describes whether we have systemd and libsystemd, not just <systemd/sd-daemon.h> While at it, sneak in a fix for the warning message: "systemd should never ever be capitalized". Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
This commit is contained in:
parent
1507f40eb0
commit
28af82e6d9
3 changed files with 6 additions and 6 deletions
|
|
@ -40,7 +40,7 @@
|
|||
#include <spa/pod/iter.h>
|
||||
#include <spa/utils/result.h>
|
||||
|
||||
#ifdef HAVE_SYSTEMD_DAEMON
|
||||
#ifdef HAVE_SYSTEMD
|
||||
#include <systemd/sd-daemon.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -576,7 +576,7 @@ static int add_socket(struct pw_protocol *protocol, struct server *s)
|
|||
int fd = -1, res;
|
||||
bool activated = false;
|
||||
|
||||
#ifdef HAVE_SYSTEMD_DAEMON
|
||||
#ifdef HAVE_SYSTEMD
|
||||
{
|
||||
int i, n = sd_listen_fds(0);
|
||||
for (i = 0; i < n; ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue