OpenBSD support patch by (Jacob Meuser // jakemsr jakemsr com)