aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2020-03-07 10:46:26 +0000
committerFurkan Sahin <furkan-dev@proton.me>2020-03-07 10:46:26 +0000
commitcc9bdba7f703f0d5aeec6cec60f46900063def5b (patch)
tree0c1996be0a6cfa719ca7f09371d9a58e07da25f6 /common
parentf98a89f3f1ca2df0befb286ef7e8ab3b668b8392 (diff)
common/log: bump POSIX version used after f98a89f3f1ca
../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>