From 042c5b278fd8ba947811bb3b5d150d4e3601b11a Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Tue, 4 Jul 2023 00:13:20 -0400 Subject: [PATCH] wrap includes --- ggml.c | 2 ++ llama.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ggml.c b/ggml.c index 074e63cc7..71e77d015 100644 --- a/ggml.c +++ b/ggml.c @@ -26,7 +26,9 @@ #include #include +#ifdef GGML_USE_MPI #include +#endif #ifdef GGML_USE_METAL #include diff --git a/llama.cpp b/llama.cpp index a4435897e..af22bf64b 100644 --- a/llama.cpp +++ b/llama.cpp @@ -49,7 +49,9 @@ #include #include +#ifdef GGML_USE_MPI #include +#endif #if defined(_MSC_VER) #pragma warning(disable: 4244 4267) // possible loss of data