Ported to OpenBSD.