Commit Briefs
fix #ifdef typo; add __dead to err functions
in d444fd2 I forgot to rename HAVE_ERR to HAVE_ERRC too.
add compat for errc and warnc
while here also fix the prototypes for warn and warnx
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
include compat for reallocarray too
reported by @Et7f3 in github issue #1, thanks!
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.