projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d94e8a
)
Include time.h in sd-event.h
author
Nathaniel McCallum
<npmccallum@redhat.com>
Wed, 24 Jan 2018 14:53:49 +0000
(09:53 -0500)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 24 Jan 2018 15:34:57 +0000
(16:34 +0100)
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.
src/systemd/sd-event.h
patch
|
blob
|
history
diff --git
a/src/systemd/sd-event.h
b/src/systemd/sd-event.h
index
57c1692
..
676d870
100644
(file)
--- a/
src/systemd/sd-event.h
+++ b/
src/systemd/sd-event.h
@@
-26,6
+26,7
@@
#include <sys/epoll.h>
#include <sys/signalfd.h>
#include <sys/types.h>
+#include <time.h>
#include "_sd-common.h"