Include time.h in sd-event.h

The time-related functions in sd-event.h take as inputs constants (CLOCK_*)
defined in time.h. By including time.h in sd-event.h, we free the developer
from having to do this manually.
This commit is contained in:
Nathaniel McCallum
2018-01-24 16:34:57 +01:00
committed by Lennart Poettering
parent 7d94e8a4b3
commit 2b97a9573f
+1
View File
@@ -26,6 +26,7 @@
#include <sys/epoll.h>
#include <sys/signalfd.h>
#include <sys/types.h>
#include <time.h>
#include "_sd-common.h"