From fafc060909d7e7d971468f9de7015ca349a37052 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 7 Mar 2020 10:46:26 +0000 Subject: [PATCH] common/log: bump POSIX version used after e81d9fde667e ../common/log.c:63:16: error: use of undeclared identifier 'CLOCK_MONOTONIC' clock_gettime(CLOCK_MONOTONIC, &start_time); ^ ../common/log.c:75:16: error: use of undeclared identifier 'CLOCK_MONOTONIC' clock_gettime(CLOCK_MONOTONIC, &ts); ^ --- common/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/log.c b/common/log.c index 59cb9b710..9e79c4e66 100644 --- a/common/log.c +++ b/common/log.c @@ -1,4 +1,4 @@ -#define _POSIX_C_SOURCE 199506L +#define _POSIX_C_SOURCE 200112L #include #include #include