Replace LIBSYSTEMD_DAEMON with LIBSYSTEMD

Signed-off-by: Aron Xu <aron@debian.org>
This commit is contained in:
Aron Xu
2015-01-24 10:15:05 +01:00
committed by Nikos Mavrogiannopoulos
parent dfc5f33f85
commit d4b6d97697
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -47,7 +47,7 @@
# include <tcpd.h>
#endif
#ifdef HAVE_LIBSYSTEMD_DAEMON
#ifdef HAVE_LIBSYSTEMD
# include <systemd/sd-daemon.h>
#endif
#include <main.h>
@@ -278,7 +278,7 @@ listen_ports(void *pool, struct cfg_st* config,
list_head_init(&list->head);
list->total = 0;
#ifdef HAVE_LIBSYSTEMD_DAEMON
#ifdef HAVE_LIBSYSTEMD
/* Support for systemd socket-activatable service */
if ((fds=sd_listen_fds(0)) > 0) {
/* if we get our fds from systemd */