X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-ws.c;h=26d019323041ec6368a197f04df596e9c53ae34d;hb=b182590a555afe093d2d6e5cdf3e1e2410d1a0f5;hp=0e4d1d050bbc97260914bfe073be7ef7fd603ef9;hpb=587d83da1a6efd68ff45e308dd9691a00fc53fba;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-ws.c b/src/afb-api-ws.c index 0e4d1d05..26d01932 100644 --- a/src/afb-api-ws.c +++ b/src/afb-api-ws.c @@ -33,7 +33,7 @@ #include #include "afb-api.h" #include "afb-apiset.h" -#include "afb-common.h" +#include "afb-systemd.h" #include "afb-stub-ws.h" #include "verbose.h" #include "sd-fds.h" @@ -310,7 +310,7 @@ static int api_ws_server_connect(struct api_ws *apiws) ERROR("can't create socket %s", apiws->path); else { /* listen for service */ - rc = sd_event_add_io(afb_common_get_event_loop(), + rc = sd_event_add_io(afb_systemd_get_event_loop(), &apiws->listensrc, apiws->fd, EPOLLIN, api_ws_server_listen_callback, apiws); if (rc >= 0)