Skip to content

Commit 2449065

Browse files
ggerganovpull[bot]
authored andcommitted
ggml : include stdlib.h before intrin.h (#4736)
1 parent 2d33315 commit 2449065

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml-impl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// GGML internal header
66

77
#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/
89
#include <stddef.h>
910
#include <stdbool.h>
1011
#include <string.h> // memcpy

0 commit comments

Comments
 (0)