compat.h: define CLOCK_MONOTONIC_RAW
PATCH 1/1 compat.h: define CLOCK_MONOTONIC_RAW
It is not defined on older distros yet.
Signed-off-by Jiri Slaby <[email protected]>
--- include/compat.h | 3 +++ 1 file changed, 3 insertions(+)
include/compat.h +3 -0
@@ -1018,6 +1018,9 @@ struct kvm_get_htab_fd {#endif /* time.h */ +#ifndef CLOCK_MONOTONIC_RAW +#define CLOCK_MONOTONIC_RAW 4 +#endif #ifndef CLOCK_BOOTTIME #define CLOCK_BOOTTIME 7#endif
Signature · 1 line
2.4.3