Fix bug #5714 - NetBSD, ENODATA undefined, at least some releases.