From: Georgi Gerganov Date: Thu, 4 Jan 2024 08:12:26 +0000 (+0200) Subject: ggml : include stdlib.h before intrin.h (llama/4736) X-Git-Tag: upstream/0.0.1642~1118 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=a1584f0e6166fd96a811147ad32f6230d21fd083;p=pkg%2Fggml%2Fsources%2Fggml ggml : include stdlib.h before intrin.h (llama/4736) --- diff --git a/src/ggml-impl.h b/src/ggml-impl.h index 1f5610a8..2faced08 100644 --- a/src/ggml-impl.h +++ b/src/ggml-impl.h @@ -5,6 +5,7 @@ // GGML internal header #include +#include // load `stdlib.h` before other headers to work around MinGW bug: https://sourceforge.net/p/mingw-w64/bugs/192/ #include #include #include // memcpy