summaryrefslogtreecommitdiffstats
path: root/src/afb-api-ws.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-api-ws.c')
-rw-r--r--src/afb-api-ws.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/afb-api-ws.c b/src/afb-api-ws.c
index 26d01932..7fbe5be1 100644
--- a/src/afb-api-ws.c
+++ b/src/afb-api-ws.c
@@ -36,7 +36,6 @@
#include "afb-systemd.h"
#include "afb-stub-ws.h"
#include "verbose.h"
-#include "sd-fds.h"
struct api_ws
{
@@ -177,7 +176,7 @@ static int api_ws_socket(const char *path, int server)
/* check for systemd socket */
if (0 == strncmp(path, "sd:", 3))
- fd = sd_fds_for(path + 3);
+ fd = systemd_fds_for(path + 3);
else {
/* check for unix socket */
if (0 == strncmp(path, "unix:", 5))