Redmine #6133: Fix compilation on OpenBSD.