Re: AC_FUNC_MMAP lacks <unistd.h> include?

Paul Eggert <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
On 2023-05-17 12:25, Florian Weimer wrote:

> But then HAVE_GETPAGESIZE probably should not succeed spuriously because
> of an implicit function declaration.

I hope that the only platforms that should use that old getpagesize 
code, are platforms so old that implicit function declarations work, 
which means we are OK there. If I'm wrong I'd like to know what platform 
is a counterexample before further fiddling with this ancient cruft.


> I still suspect there is something peculiar to libgtop that triggers
> this, such as some late -D_XOPEN_SOURCE somewhere, or conditional
> execution of the HAVE_UNISTD_H check.

Matt reported in <https://bugs.gentoo.org/show_bug.cgi?id=898816#c7> 
that the Autoconf patches fix the issue in libgtop, whatever it is.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.