errno must be accessed by a macro from errno.h. PR: 281786 Approved by: portmgr (build fix blanket), mikael