aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-09-24 20:13:40 +0200
committerDiego Biurrun <diego@biurrun.de>2017-10-10 23:20:16 +0200
commit29ccc641b17afad058a5c24071ea827865a8b3a9 (patch)
tree0209ddf790e3e046a87eca429983bd28326595a1 /libswscale/utils.c
parente7168d4c0cb279cf267690549ca92ad564572bc6 (diff)
downloadffmpeg-29ccc641b17afad058a5c24071ea827865a8b3a9.tar.gz
build: Drop check for sys/mman.h in favor of mmap() check
We already rely on just mmap() in other places.
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c2
1 files changed, 1 insertions, 1 deletions
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