aboutsummaryrefslogtreecommitdiffstats
path: root/src/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socket.c b/src/socket.c
index fde9648..6f8a060 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -32,7 +32,7 @@
#include <sys/socket.h>
#include <sys/un.h>
-#if defined(WITH_SYSTEMD_ACTIVATION)
+#if defined(WITH_SYSTEMD)
#include <systemd/sd-daemon.h>
#endif
@@ -212,7 +212,7 @@ static int open_tcp(const char *spec, int server)
*/
static int open_systemd(const char *spec)
{
-#if defined(WITH_SYSTEMD_ACTIVATION)
+#if defined(WITH_SYSTEMD)
char **names;
int fd = -1;
int c = sd_listen_fds_with_names(0, &names);