summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/libc/compilers/common/include/sys/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/libc/compilers/common/include/sys/time.h b/components/libc/compilers/common/include/sys/time.h
index 7cf4c8c0d8..8be8d60f29 100644
--- a/components/libc/compilers/common/include/sys/time.h
+++ b/components/libc/compilers/common/include/sys/time.h
@@ -157,6 +157,10 @@ int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
#define CLOCK_MONOTONIC 4
#endif /* CLOCK_MONOTONIC */
+#ifndef TIMER_ABSTIME
+#define TIMER_ABSTIME 4
+#endif /* TIMER_ABSTIME */
+
#ifdef CLOCK_TAI
#define CLOCK_ID_MAX CLOCK_TAI
#else