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