diff options
author | Diego Biurrun <diego@biurrun.de> | 2017-09-24 20:13:40 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-10-10 23:20:16 +0200 |
commit | 29ccc641b17afad058a5c24071ea827865a8b3a9 (patch) | |
tree | 0209ddf790e3e046a87eca429983bd28326595a1 | |
parent | e7168d4c0cb279cf267690549ca92ad564572bc6 (diff) | |
download | ffmpeg-29ccc641b17afad058a5c24071ea827865a8b3a9.tar.gz |
build: Drop check for sys/mman.h in favor of mmap() check
We already rely on just mmap() in other places.
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | libswscale/utils.c | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -1578,7 +1578,6 @@ HEADERS_LIST=" poll_h soundcard_h stdatomic_h - sys_mman_h sys_param_h sys_resource_h sys_select_h @@ -4662,7 +4661,6 @@ check_header io.h check_header mach/mach_time.h check_header malloc.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 diff --git a/libswscale/utils.c b/libswscale/utils.c index 786774f241..d94be5a50b 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -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 |