Starting with Xcode 10.0, installing the macOS Command Line Tools no longer installs the macOS system headers into /usr/include/
(this behaviour is seemingly deprecated).
This means that building some dependencies using depends
will fail like:
0fatal error: 'unistd.h' file not found
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
is provided as a work around to install the system headers into /usr/include/
. This has come up once already, so probably worth documenting in the macOS build notes.