wrap includes

This commit is contained in:
Evan Miller 2023-07-04 00:13:20 -04:00
parent 668ba5fe0b
commit 042c5b278f
2 changed files with 4 additions and 0 deletions

2
ggml.c
View File

@ -26,7 +26,9 @@
#include <limits.h> #include <limits.h>
#include <stdarg.h> #include <stdarg.h>
#ifdef GGML_USE_MPI
#include <mpi.h> #include <mpi.h>
#endif
#ifdef GGML_USE_METAL #ifdef GGML_USE_METAL
#include <unistd.h> #include <unistd.h>

View File

@ -49,7 +49,9 @@
#include <sstream> #include <sstream>
#include <numeric> #include <numeric>
#ifdef GGML_USE_MPI
#include <mpi.h> #include <mpi.h>
#endif
#if defined(_MSC_VER) #if defined(_MSC_VER)
#pragma warning(disable: 4244 4267) // possible loss of data #pragma warning(disable: 4244 4267) // possible loss of data