summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-09-06 13:40:22 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-09-06 13:40:22 +0200
commit7ff668f9ea1aec3e4d5ca42c674fe16f3320b47d (patch)
tree4a1e3048ba37b1d27769d6eaccff961a4f6cdd9c
parent53ad2c147dd1b582f65c071e63d9c9da27bbfb96 (diff)
Enable clock_gettime() for Glibc
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index bdd222a..1b984d4 100644
--- a/main.c
+++ b/main.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <assert.h>
#include <err.h>
#include <errno.h>