diff options
-rw-r--r-- | ggml-impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ggml-impl.h b/ggml-impl.h index 1f5610a8..2faced08 100644 --- a/ggml-impl.h +++ b/ggml-impl.h @@ -5,6 +5,7 @@ // GGML internal header #include <assert.h> +#include <stdlib.h> // load `stdlib.h` before other headers to work around MinGW bug: https://sourceforge.net/p/mingw-w64/bugs/192/ #include <stddef.h> #include <stdbool.h> #include <string.h> // memcpy |