From: Nathaniel McCallum Date: Wed, 24 Jan 2018 14:53:49 +0000 (-0500) Subject: Include time.h in sd-event.h X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8e735ec0a1f35b1a92576806404ed722403b7395;p=elogind.git 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. --- 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 #include #include +//#include #include "_sd-common.h"