mirror of
https://github.com/swaywm/sway.git
synced 2024-11-18 05:59:15 +00:00
common/loop.c: add _POSIX_C_SOURCE for clock_gettime and CLOCK_MONOTONIC
This commit is contained in:
parent
4e4b922d79
commit
a9a9df75ec
|
@ -1,3 +1,4 @@
|
||||||
|
#define _POSIX_C_SOURCE 199309L
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
Loading…
Reference in a new issue