From: Michael Olbrich Date: Thu, 19 Jun 2014 10:48:55 +0200 Subject: [PATCH] missing: defined extra clock ids This is required for glibc <= 2.13 Upstream requires glibc 2.14 but this is useful for host-systemd. Signed-off-by: Michael Olbrich --- src/basic/missing.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/basic/missing.h b/src/basic/missing.h index 36b060496a7b..d73a73f64088 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -908,6 +908,16 @@ static inline int setns(int fd, int nstype) { #define RTA_PREF 20 #endif +#ifndef CLOCK_BOOTTIME +#define CLOCK_BOOTTIME 7 +#endif +#ifndef CLOCK_REALTIME_ALARM +#define CLOCK_REALTIME_ALARM 8 +#endif +#ifndef CLOCK_BOOTTIME_ALARM +#define CLOCK_BOOTTIME_ALARM 9 +#endif + #ifndef IPV6_UNICAST_IF #define IPV6_UNICAST_IF 76 #endif