summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-11 16:09:09 -0300
committerJames Almer <jamrial@gmail.com>2017-11-11 16:09:09 -0300
commit869401cefc22e221edbf135bacaa1f21014fd001 (patch)
tree731ddba643d8a14dcd515e326b39caac51c18aa3 /libswscale
parent084e7fbe49fb0935b733726c2b0f7e6ce9553874 (diff)
parent29ccc641b17afad058a5c24071ea827865a8b3a9 (diff)
downloadffmpeg-streaming-869401cefc22e221edbf135bacaa1f21014fd001.zip
ffmpeg-streaming-869401cefc22e221edbf135bacaa1f21014fd001.tar.gz
Merge commit '29ccc641b17afad058a5c24071ea827865a8b3a9'
* commit '29ccc641b17afad058a5c24071ea827865a8b3a9': build: Drop check for sys/mman.h in favor of mmap() check Merged-by: James Almer <jamrial@gmail.com>
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 dcab707..4df0930 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
OpenPOWER on IntegriCloud