add errno for OpenBSD.