diff --git a/ggml.c b/ggml.c index 785f4b91f..c066b5f47 100644 --- a/ggml.c +++ b/ggml.c @@ -20,7 +20,10 @@ #include #include #include + +#ifdef GGML_USE_METAL #include +#endif // if C99 - static_assert is noop // ref: https://stackoverflow.com/a/53923785/4039976