diff --git a/src/os.c b/src/os.c index e9566354..38246047 100644 --- a/src/os.c +++ b/src/os.c @@ -20,6 +20,9 @@ terms of the MIT license. A copy of the license can be found in the file #elif defined(__wasi__) // stdlib.h is all we need, and has already been included in mimalloc.h #else +#if defined(__linux__) +#include // mmap linux specific flags +#endif #include // mmap #include // sysconf #if defined(__APPLE__)