aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorLibravatar Jan Beich <jbeich@FreeBSD.org>2020-03-07 10:46:26 +0000
committerLibravatar Simon Ser <contact@emersion.fr>2020-03-07 12:05:51 +0100
commitfafc060909d7e7d971468f9de7015ca349a37052 (patch)
tree0c1996be0a6cfa719ca7f09371d9a58e07da25f6 /common
parentcommon/log: improve time prefix (diff)
downloadsway-fafc060909d7e7d971468f9de7015ca349a37052.tar.gz
sway-fafc060909d7e7d971468f9de7015ca349a37052.tar.zst
sway-fafc060909d7e7d971468f9de7015ca349a37052.zip
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 @@
1#define _POSIX_C_SOURCE 199506L 1#define _POSIX_C_SOURCE 200112L
2#include <signal.h> 2#include <signal.h>
3#include <stdarg.h> 3#include <stdarg.h>
4#include <stdio.h> 4#include <stdio.h>