Merge pull request #2845 from colemickens/posix_clock

common/loop.c: add _POSIX_C_SOURCE for clock_gettime and CLOCK_MONOTONIC
This commit is contained in:
Drew DeVault 2018-10-15 23:01:53 +02:00 committed by GitHub
commit cd02d60a99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>