MacOS seems to be the only one that specifies sys/errno.h in documentation. But if that were necessary then I suspect sys/errno.h would be found in more places in the codebase. Even in the MacOS dir there are plenty of plain errno.h's. Plain errno.h is POSIX. I'm pretty certain it's normal for errno.h to #include sys/errno.h.