Skip to content

Commit

Permalink
ggml : include stdlib.h before intrin.h (#4736)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov authored and pull[bot] committed May 23, 2024
1 parent 2d33315 commit 2449065
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ggml-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2449065

Please sign in to comment.