Content originally posted in LPCWare by IntStarFoo on Mon Oct 22 09:10:15 MST 2012
I'm not sure about the specifics of your situation, but here are a few ideas that might help you find the problem...
Do you [I]#include "sys/types.h"[/I] in your code? If so, you can select that line in your code and press F3 (or right click->Open Declaration). That should open the actual file up. From there, you should see the location of the file and make sure that it is in your include paths for that project (Make sure you have the project selected, click "Quick Settings" button on the toolbar then select "Include paths")
Also, it could have something to do with using REDLIB vs NEWLIB. Look that up under your project defines (Make sure you have the project selected, click "Quick Settings" button on the toolbar then select "Defined Symbols"). You might have to read about differences between REDLIB and NEWLIB in other areas for help.