aboutsummaryrefslogtreecommitdiff
path: root/timer/include
diff options
context:
space:
mode:
Diffstat (limited to 'timer/include')
-rw-r--r--timer/include/timer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/timer/include/timer.h b/timer/include/timer.h
index b65f8d4..94781d6 100644
--- a/timer/include/timer.h
+++ b/timer/include/timer.h
@@ -9,7 +9,9 @@ typedef uint64_t time_point;
9// Need to macro to make CLOCK_REALTIME available when compiling with ISO C11. 9// Need to macro to make CLOCK_REALTIME available when compiling with ISO C11.
10// The constant is only needed in the source file, but the header file needs to 10// The constant is only needed in the source file, but the header file needs to
11// include time.h too. 11// include time.h too.
12#ifndef __USE_POSIX199309
12#define __USE_POSIX199309 13#define __USE_POSIX199309
14#endif //
13#include <time.h> 15#include <time.h>
14typedef struct timespec time_point; 16typedef struct timespec time_point;
15#endif 17#endif