1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00

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 09:53:49 -05:00 committed by Lennart Poettering
parent 7d94e8a4b3
commit 2b97a9573f

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"