fix mman.h ref

This commit is contained in:
Tyler Young
2020-07-09 10:58:47 -04:00
parent 07c6e60a5a
commit b9a7f5cfae

View File

@@ -23,7 +23,12 @@ terms of the MIT license. A copy of the license can be found in the file
#include <sys/mman.h> // mmap
#include <unistd.h> // sysconf
#if defined(__linux__)
#include <features.h>
#if defined(__GLIBC__)
#include <linux/mman.h> // linux mmap flags
#else
#include <sys/mman.h>
#endif
#endif
#if defined(__APPLE__)
#include <mach/vm_statistics.h>