Commit 869401ce authored by James Almer's avatar James Almer

Merge commit '29ccc641'

* commit '29ccc641':
  build: Drop check for sys/mman.h in favor of mmap() check
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 084e7fbe 29ccc641
......@@ -1937,7 +1937,6 @@ HEADERS_LIST="
poll_h
soundcard_h
stdatomic_h
sys_mman_h
sys_param_h
sys_resource_h
sys_select_h
......@@ -5772,7 +5771,6 @@ check_header mach/mach_time.h
check_header malloc.h
check_header net/udplite.h
check_header poll.h
check_header sys/mman.h
check_header sys/param.h
check_header sys/resource.h
check_header sys/select.h
......
......@@ -27,7 +27,7 @@
#include <math.h>
#include <stdio.h>
#include <string.h>
#if HAVE_SYS_MMAN_H
#if HAVE_MMAP
#include <sys/mman.h>
#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)
#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