From eb285cf62db2a40fca185e7021e40c25f035bb07 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 12 Mar 2019 13:58:11 +0000 Subject: [PATCH] define CLOCK_TAI if not defined --- tc/q_etf.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tc/q_etf.c b/tc/q_etf.c index 79a06ba..d7de6f6 100644 --- a/tc/q_etf.c +++ b/tc/q_etf.c @@ -25,6 +25,11 @@ #include "tc_util.h" #define CLOCKID_INVALID (-1) + +#ifndef CLOCK_TAI +#define CLOCK_TAI 11 +#endif + static const struct static_clockid { const char *name; clockid_t clockid; -- 2.17.1