|
From: | Paul Eggert |
Subject: | Re: AC_FUNC_MMAP lacks <unistd.h> include? |
Date: | Wed, 10 May 2023 17:26:25 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
On 5/9/23 18:40, Sam James wrote:
It looks like this is still the case in master as well.
Thanks for reporting that. Simply including unistd.h isn't enough in general, as POSIX no longer requires getpagesize to be declared there. So I instead installed the attached patch, which changes the test so that it doesn't use getpagesize. This is a conservative-enough approach that it should be OK to squeeze it in before the next Autoconf release.
0001-Port-AC_FUNC_MMAP-to-more-modern-systems.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |