summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-getpagesize.c
Commit message (Collapse)AuthorAgeFilesLines
* Include includes.h for HAVE_GETPAGESIZE.Darren Tucker2017-10-311-0/+2
| | | | | | | | | 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(). Patch from Peter Korsgaard <peter at korsgaard.com>
* add recallocarray replacement and dependencyDamien Miller2017-06-011-0/+23
recallocarray() needs getpagesize() so add a tiny replacement for that.