Commit 817bf785 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

zdtm: posix_timers -- Add definition of CLOCK_BOOTTIME

On PI we've noticed that CLOCK_BOOTTIME might not be defined
in system headers, so ship own one.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 1764db0f
...@@ -20,6 +20,10 @@ sigset_t mask; ...@@ -20,6 +20,10 @@ sigset_t mask;
#define MAX_TIMER_DISPLACEMENT 10 #define MAX_TIMER_DISPLACEMENT 10
#define NO_PERIODIC #define NO_PERIODIC
#ifndef CLOCK_BOOTTIME
# define CLOCK_BOOTTIME 7
#endif
#ifndef NO_PERIODIC #ifndef NO_PERIODIC
static void realtime_periodic_handler(int sig, siginfo_t *si, void *uc); static void realtime_periodic_handler(int sig, siginfo_t *si, void *uc);
static void monotonic_periodic_handler(int sig, siginfo_t *si, void *uc); static void monotonic_periodic_handler(int sig, siginfo_t *si, void *uc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment