Skip to content

Instantly share code, notes, and snippets.

@mongris
Forked from chrisyip/c_works_no.md
Last active August 29, 2015 14:06
Show Gist options
  • Save mongris/b46a7c5efe62a1265f14 to your computer and use it in GitHub Desktop.
Save mongris/b46a7c5efe62a1265f14 to your computer and use it in GitHub Desktop.

If you encounter errors like this ``fatal error: 'stdlib.h' file not foundon Yosemite and Xcode 6.0.1, your/usr/include/` is probably missing.

Try this command on Terminal:

sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include /usr/include
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment