commit fafc060909d7e7d971468f9de7015ca349a37052
parent e81d9fde667e7a06989b63f1091b81a12885f194
Author: Jan Beich <jbeich@FreeBSD.org>
Date: Sat, 7 Mar 2020 10:46:26 +0000
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);
^
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/log.c b/common/log.c
@@ -1,4 +1,4 @@
-#define _POSIX_C_SOURCE 199506L
+#define _POSIX_C_SOURCE 200112L
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>