Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-09-24 21:13:40 +0300
committerDiego Biurrun <diego@biurrun.de>2017-10-11 00:20:16 +0300
commit29ccc641b17afad058a5c24071ea827865a8b3a9 (patch)
tree0209ddf790e3e046a87eca429983bd28326595a1 /libswscale
parente7168d4c0cb279cf267690549ca92ad564572bc6 (diff)
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')
-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