fix mman.h ref
This commit is contained in:
5
src/os.c
5
src/os.c
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user