Commit 29ccc641 authored by Diego Biurrun's avatar Diego Biurrun

build: Drop check for sys/mman.h in favor of mmap() check

We already rely on just mmap() in other places.
parent e7168d4c
...@@ -1578,7 +1578,6 @@ HEADERS_LIST=" ...@@ -1578,7 +1578,6 @@ HEADERS_LIST="
poll_h poll_h
soundcard_h soundcard_h
stdatomic_h stdatomic_h
sys_mman_h
sys_param_h sys_param_h
sys_resource_h sys_resource_h
sys_select_h sys_select_h
...@@ -4662,7 +4661,6 @@ check_header io.h ...@@ -4662,7 +4661,6 @@ check_header io.h
check_header mach/mach_time.h check_header mach/mach_time.h
check_header malloc.h check_header malloc.h
check_header poll.h check_header poll.h
check_header sys/mman.h
check_header sys/param.h check_header sys/param.h
check_header sys/resource.h check_header sys/resource.h
check_header sys/select.h check_header sys/select.h
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#if HAVE_SYS_MMAN_H #if HAVE_MMAP
#include <sys/mman.h> #include <sys/mman.h>
#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS) #if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)
#define MAP_ANONYMOUS MAP_ANON #define MAP_ANONYMOUS MAP_ANON
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment