summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2018-01-24 09:53:49 -0500
committerSven Eden <yamakuzure@gmx.net>2018-05-30 07:50:15 +0200
commit8e735ec0a1f35b1a92576806404ed722403b7395 (patch)
treeeba3ebd2ffc0c8fe3a0666d7def125eaa88856fc /src/systemd
parent74ce38c8f2da4ce4a8a089fc78d4742645ead085 (diff)
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.
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-event.h b/src/systemd/sd-event.h
index 57c1692fc..7b25d0c95 100644
--- 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"