From: Georgi Gerganov Date: Thu, 4 Jan 2024 08:12:26 +0000 (+0200) Subject: ggml : include stdlib.h before intrin.h (#4736) X-Git-Tag: upstream/0.0.4488~2724 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=dc891b7f7a23158d54f9383790b92c79cc5906c1;p=pkg%2Fggml%2Fsources%2Fllama.cpp ggml : include stdlib.h before intrin.h (#4736) --- diff --git a/ggml-impl.h b/ggml-impl.h index 1f5610a8..2faced08 100644 --- a/ggml-impl.h +++ b/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