Define error_opened on OpenBSD too