[gcr/gnome-41] Unbreak build without systemd.
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr/gnome-41] Unbreak build without systemd.
- Date: Tue, 28 Jun 2022 12:23:55 +0000 (UTC)
commit 3453c26f894eeda44d408b7f68e516026db46832
Author: Antoine Jacoutot <ajacoutot gnome org>
Date: Sun Oct 24 10:26:03 2021 +0200
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.
gcr/gcr-ssh-agent-service.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gcr/gcr-ssh-agent-service.c b/gcr/gcr-ssh-agent-service.c
index 3b5a4ca1..b7e89286 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]