summaryrefslogtreecommitdiff
path: root/x11/gdm/files/patch-daemon_gdm-session-worker-job.c
blob: 9449367ad3f571b61ec4677ea16c55ccbdcd5f50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- daemon/gdm-session-worker-job.c.orig	2024-09-16 13:28:26 UTC
+++ daemon/gdm-session-worker-job.c
@@ -36,7 +36,9 @@
 #include <sys/prctl.h>
 #endif
 
+#ifdef WITH_SYSTEMD
 #include <systemd/sd-daemon.h>
+#endif
 
 #ifdef ENABLE_SYSTEMD_JOURNAL
 #include <systemd/sd-journal.h>