MAC IDE error, Windows ok

Hi,
when compiling my code under Mac Arduino 1.0.5 I get the following error message:
'uint16_t' does not name a type ---- same for all those declarations

Compiling the same code from the very same libraries under Windows IDE 1.0.5 everything works fine.

Already tried to redownload the IDE, reload all libraries ... Nothing worked so far.

Help very much appreciated! (I do have to reboot my MAC every time, when working on the project).

Thanks!

My MacBook Pro works fine with Arduino 1.0.5. If you can provide an example of the code that doesn't compile, perhaps we can suggest where to look.

For example, is it related to a specific library?