aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-03-07 10:46:26 +0000
committerSimon Ser <contact@emersion.fr>2020-03-07 12:05:51 +0100
commitfafc060909d7e7d971468f9de7015ca349a37052 (patch)
tree0c1996be0a6cfa719ca7f09371d9a58e07da25f6 /common
parente81d9fde667e7a06989b63f1091b81a12885f194 (diff)
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 (limited to 'common')
-rw-r--r--common/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.c b/common/log.c
index 59cb9b71..9e79c4e6 100644
--- 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>