common/loop.c: add _POSIX_C_SOURCE for clock_gettime and CLOCK_MONOTONIC

This commit is contained in:
Cole Mickens 2018-10-15 13:36:56 -07:00
parent 4e4b922d79
commit a9a9df75ec

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>