commit cd02d60a992ee38689a0d17fc69c4e2b1956f266
parent 4e4b922d794f4f27968275fa3e5b9245a80eede4
Author: Drew DeVault <sir@cmpwn.com>
Date: Mon, 15 Oct 2018 23:01:53 +0200
Merge pull request #2845 from colemickens/posix_clock
common/loop.c: add _POSIX_C_SOURCE for clock_gettime and CLOCK_MONOTONIC
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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>