ggml : include stdlib.h before intrin.h (llama/4736)

pull/1753/head^2
Georgi Gerganov 2024-01-04 10:12:26 +02:00
parent cc7f872131
commit 46dc49a6a1
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 1 additions and 0 deletions

View File

@ -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