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