From b9a7f5cfaed087cc6a5b5fc02862234fa771eebf Mon Sep 17 00:00:00 2001 From: Tyler Young Date: Thu, 9 Jul 2020 10:58:47 -0400 Subject: [PATCH] fix mman.h ref --- src/os.c | 5 +++++ 1 file changed, 5 insertions(+) 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