Commit Briefs

Omar Polo

fix #ifdef typo; add __dead to err functions

in d444fd2 I forgot to rename HAVE_ERR to HAVE_ERRC too.


Omar Polo

add compat for errc and warnc

while here also fix the prototypes for warn and warnx


Omar Polo

endian.h is not universally available

FreeBSD and NetBSD have sys/endian.h, on MacOS we need to use the functions from libkern/OSByteOrder.h see github issue #1


Omar Polo

include compat for reallocarray too

reported by @Et7f3 in github issue #1, thanks!


Omar Polo

move INFTIM shim to compat.h


Omar Polo

Merge branch 'portable'

Trying to maintain two branches was impossible at this stage for me alone, so I'll recognize my stupidity and merge the portable branch into the main one. The repository will build using autotools.