chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74ce38c
)
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
Sven Eden
<yamakuzure@gmx.net>
Wed, 30 May 2018 05:50:15 +0000
(07:50 +0200)
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 57c1692fc1d789577930570a1d345ceb3b9c3352..7b25d0c956f04956484c65c3e3c56953dbeecfe9 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"