summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@gnome.org>2021-10-24 10:26:03 +0200
committerAntoine Jacoutot <ajacoutot@gnome.org>2021-10-24 10:26:03 +0200
commit96e76ee482dad2a0d71f9a5a5a6558d272d538ca (patch)
tree4093231e3e11d82a669c9e501dd5058db91f51dd
parent3b442ac678043a8f8e8f87c3ba772be4ffed826a (diff)
downloadgcr-96e76ee482dad2a0d71f9a5a5a6558d272d538ca.tar.gz
Unbreak build without systemd.
This fixes the check for WITH_SYSTEMD and prevents a fatal error: 'systemd/sd-daemon.h' file not found when building with systemd disabled.
-rw-r--r--gcr/gcr-ssh-agent-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcr/gcr-ssh-agent-service.c b/gcr/gcr-ssh-agent-service.c
index 3b5a4ca..b7e8928 100644
--- a/gcr/gcr-ssh-agent-service.c
+++ b/gcr/gcr-ssh-agent-service.c
@@ -39,7 +39,7 @@
#include <glib/gstdio.h>
#include <gcr/gcr-base.h>
-#ifdef WITH_SYSTEMD
+#if WITH_SYSTEMD
#include <systemd/sd-daemon.h>
#endif