index
:
llama.cpp.git
master
llama.cpp
user
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
ggml.c
3
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__)