summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2022-10-18 15:58:06 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2022-10-18 15:58:06 +0100
commit5ce34add77fa3517a01e63b915c5f4e3241af470 (patch)
treeee5e13606e15ad4d8c2154e3334c8b2711dc34f8 /compat.h
parent934f357149dba903f091237e7ea7c7ba78471614 (diff)
Do not attempt to connect to the socket as a client if systemd is active, from
Julien Moutinho in GitHub issue 3345.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat.h b/compat.h
index 6eb97619..aefc0d38 100644
--- a/compat.h
+++ b/compat.h
@@ -423,6 +423,7 @@ void *recallocarray(void *, size_t, size_t, size_t);
#ifdef HAVE_SYSTEMD
/* systemd.c */
+int systemd_activated(void);
int systemd_create_socket(int, char **);
#endif