Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix rpm packaging following review 20926
[src/app-framework-binder.git]
/
src
/
afb-fdev.c
diff --git
a/src/afb-fdev.c
b/src/afb-fdev.c
index
943c254
..
a5f9566
100644
(file)
--- a/
src/afb-fdev.c
+++ b/
src/afb-fdev.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2018 "IoT.bzh"
+ * Copyright (C) 2018
, 2019
"IoT.bzh"
* Author José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Author José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-15,12
+15,14
@@
* limitations under the License.
*/
* limitations under the License.
*/
-#include "afb-systemd.h"
#include "fdev.h"
#include "fdev.h"
+
+#include "jobs.h"
+#include "systemd.h"
#include "fdev-systemd.h"
struct fdev *afb_fdev_create(int fd)
{
#include "fdev-systemd.h"
struct fdev *afb_fdev_create(int fd)
{
- return fdev_systemd_create(afb_systemd_get_event_loop(), fd);
+ jobs_acquire_event_manager();
+ return fdev_systemd_create(systemd_get_event_loop(), fd);
}
}
-