ggml : include stdlib.h before intrin.h (#4736)

This commit is contained in:
Georgi Gerganov 2024-01-04 10:12:26 +02:00 committed by GitHub
parent 46cea79e1f
commit dc891b7f7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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