After upgrading to Mojave (macOS 10.14), my homebrew installed clang started to fail with errors about not finding standard headers. I finally found a fix, documented here.
The short version: Apple removed the /usr/include directory. Run
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
to put it back.