[FFmpeg-devel] [PATCH] configure: Check for the header sys/mmap.h when checking for mmap
Martin Storsjö
martin at martin.st
Thu Jan 11 13:31:22 EET 2024
On Thu, 11 Jan 2024, 徐福隆 wrote:
> There maybe a spelling mistake, which in "check_func_headers sys/mman.h
> mmap".
> It looks like should be "sys/mmap.h"
No, this is not a mistake, this is the name of the header. Have a look at
libavutil/file.c or libswscale/utils.c, both which have this:
#if HAVE_MMAP
#include <sys/mman.h>
...
// Martin
More information about the ffmpeg-devel
mailing list