diff --git a/src/os.c b/src/os.c index f7d5f7b1..3c14bb74 100644 --- a/src/os.c +++ b/src/os.c @@ -23,7 +23,12 @@ terms of the MIT license. A copy of the license can be found in the file #include // mmap #include // sysconf #if defined(__linux__) +#include +#if defined(__GLIBC__) #include // linux mmap flags +#else +#include +#endif #endif #if defined(__APPLE__) #include