aboutsummaryrefslogtreecommitdiff
path: root/ggml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ggml.c')
-rw-r--r--ggml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ggml.c b/ggml.c
index d005445..7ea9f62 100644
--- a/ggml.c
+++ b/ggml.c
@@ -1,3 +1,6 @@
+// Defines CLOCK_MONOTONIC on Linux
+#define _POSIX_C_SOURCE 199309L
+
#include "ggml.h"
#if defined(_MSC_VER) || defined(__MINGW32__)