aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-15 23:01:53 +0200
committerGitHub <noreply@github.com>2018-10-15 23:01:53 +0200
commitcd02d60a992ee38689a0d17fc69c4e2b1956f266 (patch)
tree1c121f1d116d7506b449c53ed33f011dbd361d5f /common
parent4e4b922d794f4f27968275fa3e5b9245a80eede4 (diff)
parenta9a9df75ec9556df8a902cf7c63a51058e695369 (diff)
Merge pull request #2845 from colemickens/posix_clock
common/loop.c: add _POSIX_C_SOURCE for clock_gettime and CLOCK_MONOTONIC
Diffstat (limited to 'common')
-rw-r--r--common/loop.c1
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 @@
+#define _POSIX_C_SOURCE 199309L
#include <limits.h>
#include <string.h>
#include <stdbool.h>