diff options
author | Cole Mickens <cole.mickens@gmail.com> | 2018-10-15 13:36:56 -0700 |
---|---|---|
committer | Cole Mickens <cole.mickens@gmail.com> | 2018-10-15 13:42:24 -0700 |
commit | a9a9df75ec9556df8a902cf7c63a51058e695369 (patch) | |
tree | 1c121f1d116d7506b449c53ed33f011dbd361d5f /common/loop.c | |
parent | Merge pull request #2839 from RyanDwyer/swaylock-version (diff) | |
download | sway-a9a9df75ec9556df8a902cf7c63a51058e695369.tar.gz sway-a9a9df75ec9556df8a902cf7c63a51058e695369.tar.zst sway-a9a9df75ec9556df8a902cf7c63a51058e695369.zip |
common/loop.c: add _POSIX_C_SOURCE for clock_gettime and CLOCK_MONOTONIC
Diffstat (limited to 'common/loop.c')
-rw-r--r-- | common/loop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/loop.c b/common/loop.c index 1b174967..750bee75 100644 --- a/common/loop.c +++ b/common/loop.c | |||
@@ -1,3 +1,4 @@ | |||
1 | #define _POSIX_C_SOURCE 199309L | ||
1 | #include <limits.h> | 2 | #include <limits.h> |
2 | #include <string.h> | 3 | #include <string.h> |
3 | #include <stdbool.h> | 4 | #include <stdbool.h> |