X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fafb-hsrv.c;h=1db59cd327a88a52db762c8b1114ef2232fa9e3c;hb=ac7a95223a6314cca6250495ea59c3cf7e46e89e;hp=d06d8fc21d7b834dff7e47935350d439cd07a97e;hpb=e285cfb2219eb5a1034208efaf6d1a2d875c721f;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hsrv.c b/src/afb-hsrv.c index d06d8fc2..1db59cd3 100644 --- a/src/afb-hsrv.c +++ b/src/afb-hsrv.c @@ -38,7 +38,7 @@ #include "verbose.h" #include "locale-root.h" -#include "afb-common.h" +#include "afb-systemd.h" #include "jobs.h" #define JSON_CONTENT "application/json" @@ -420,7 +420,7 @@ int afb_hsrv_start(struct afb_hsrv *hsrv, uint16_t port, unsigned int connection return 0; } - rc = sd_event_add_io(afb_common_get_event_loop(), &evsrc, info->listen_fd, EPOLLIN, io_event_callback, hsrv); + rc = sd_event_add_io(afb_systemd_get_event_loop(), &evsrc, info->listen_fd, EPOLLIN, io_event_callback, hsrv); if (rc < 0) { MHD_stop_daemon(httpd); errno = -rc;