sync recallocarary.c original commit from claudio@: Type-cast getpagesize() from int to size_t for the comparison with d. getpagesize() will only return positive numbers (there is no negative page size system) and it can not fail. Should fix some compiler warnings seen in -portable projects. OK otto@

include config.h first

fixing compat compilation include headers if needed and include config.h

more OpenBSD goodies