/*
- * Copyright (C) 2016, 2017 "IoT.bzh"
+ * Copyright (C) 2016, 2017, 2018 "IoT.bzh"
* Author: José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
#include "verbose.h"
#include "locale-root.h"
-#include "afb-common.h"
+#include "afb-systemd.h"
#include "jobs.h"
#define JSON_CONTENT "application/json"
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;