Spaces:
Running
Running
ggml : include stdlib.h before intrin.h (llama/4736)
Browse files- ggml-impl.h +1 -0
ggml-impl.h
CHANGED
|
@@ -5,6 +5,7 @@
|
|
| 5 |
// GGML internal header
|
| 6 |
|
| 7 |
#include <assert.h>
|
|
|
|
| 8 |
#include <stddef.h>
|
| 9 |
#include <stdbool.h>
|
| 10 |
#include <string.h> // memcpy
|
|
|
|
| 5 |
// GGML internal header
|
| 6 |
|
| 7 |
#include <assert.h>
|
| 8 |
+
#include <stdlib.h> // load `stdlib.h` before other headers to work around MinGW bug: https://sourceforge.net/p/mingw-w64/bugs/192/
|
| 9 |
#include <stddef.h>
|
| 10 |
#include <stdbool.h>
|
| 11 |
#include <string.h> // memcpy
|