blob: 0370dd0a886c924b6b749c80f4d626c9469320b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
From: Michael Olbrich <m.olbrich@pengutronix.de>
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 <m.olbrich@pengutronix.de>
---
src/basic/missing.h | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/basic/missing.h b/src/basic/missing.h
index 7830a4f415b9..ae5f3ce165eb 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -948,6 +948,16 @@ struct input_mask {
#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
|