[PATCH] openbsd-compat/bsd-getpagesize.c: include includes.h for config.h defines
Peter Korsgaard
peter at korsgaard.com
Tue Oct 31 18:15:44 AEDT 2017
>>>>> "Darren" == Darren Tucker <dtucker at zip.com.au> writes:
> On 31 October 2017 at 09:45, Peter Korsgaard <peter at korsgaard.com> wrote:
>> The configure script checks for getpagesize() and sets HAVE_GETPAGESIZE in
>> config.h, but bsd-getpagesize.c forgot to include includes.h (which
>> indirectly includes config.h) so the checks always fails, causing linker
>> issues when linking statically on systems with getpagesize():
>>
>> http://autobuild.buildroot.net/results/8cc/8cc30818a400c7a392a3de787cabc9
>> cd8425495f/build-end.log
>>
>> Fix it by including includes.h
> Applied, thanks.
Great, thanks!
> What platform was that? I can't tell from the logs.
uClibc-ng on Linux (cross compiled for ARMv5).
--
Bye, Peter Korsgaard
More information about the openssh-unix-dev
mailing list