aboutsummaryrefslogtreecommitdiffstats
path: root/common/loop.c
diff options
context:
space:
mode:
authorLibravatar sghctoma <sghctoma@gmail.com>2018-10-17 11:09:58 +0200
committerLibravatar sghctoma <sghctoma@gmail.com>2018-10-17 11:09:58 +0200
commit2694fd72b6c98da6e8ee11cc14bfe9c02dff16f6 (patch)
tree962cc7aaf925e56f4e3d601c3e24bf0eade24998 /common/loop.c
parentMerge pull request #2843 from c-edw/feature/2842_TruncateMessage (diff)
downloadsway-2694fd72b6c98da6e8ee11cc14bfe9c02dff16f6.tar.gz
sway-2694fd72b6c98da6e8ee11cc14bfe9c02dff16f6.tar.zst
sway-2694fd72b6c98da6e8ee11cc14bfe9c02dff16f6.zip
Increase _POSIX_C_SOURCE to 200112L
CLOCK_MONOTONIC appeared in IEEE Std. 1003.1-200x, it was not part of POSIX.1b (the 1993 version), and FreeBSD treats it accordingly.
Diffstat (limited to 'common/loop.c')
-rw-r--r--common/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/loop.c b/common/loop.c
index 750bee75..82b80017 100644
--- a/common/loop.c
+++ b/common/loop.c
@@ -1,4 +1,4 @@
1#define _POSIX_C_SOURCE 199309L 1#define _POSIX_C_SOURCE 200112L
2#include <limits.h> 2#include <limits.h>
3#include <string.h> 3#include <string.h>
4#include <stdbool.h> 4#include <stdbool.h>