Update copyright dates
[src/app-framework-binder.git] / src / afb-fdev.c
index fa1a402..fb6c11a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018, 2019 "IoT.bzh"
+ * Copyright (C) 2015-2020 "IoT.bzh"
  * Author José Bollo <jose.bollo@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
 
 #include "fdev.h"
 
+#include "jobs.h"
 #include "systemd.h"
 #include "fdev-systemd.h"
 
 struct fdev *afb_fdev_create(int fd)
 {
+       jobs_acquire_event_manager();
        return fdev_systemd_create(systemd_get_event_loop(), fd);
 }