X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafs-supervisor.c;fp=src%2Fafs-supervisor.c;h=be0cdbf5d33b437997f809cf74c998acd334d770;hb=b182590a555afe093d2d6e5cdf3e1e2410d1a0f5;hp=35a3f3e1312e2bebd597b22056ed6d4ab54be6b4;hpb=587d83da1a6efd68ff45e308dd9691a00fc53fba;p=src%2Fapp-framework-binder.git diff --git a/src/afs-supervisor.c b/src/afs-supervisor.c index 35a3f3e1..be0cdbf5 100644 --- a/src/afs-supervisor.c +++ b/src/afs-supervisor.c @@ -36,7 +36,7 @@ #include #include "afs-supervision.h" -#include "afb-common.h" +#include "afb-systemd.h" #include "afb-session.h" #include "afb-cred.h" #include "afb-stub-ws.h" @@ -339,7 +339,7 @@ static int init(const char *spec) } /* integrate the socket to the loop */ - rc = sd_event_add_io(afb_common_get_event_loop(), + rc = sd_event_add_io(afb_systemd_get_event_loop(), NULL, fd, EPOLLIN, listening, NULL); if (rc < 0) {