From: Nathaniel McCallum Date: Wed, 24 Jan 2018 14:53:49 +0000 (-0500) Subject: Include time.h in sd-event.h X-Git-Tag: v237~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b97a9573f0bd77a91453693e0af622450a13df7;p=thirdparty%2Fsystemd.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 57c1692fc1d..676d870a1eb 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"