Errors Compiling LibraryTutorial Morse Example

I recently downloaded and installed Arduino 0013 and I have been trying to build the LibraryTutorial Morse library example without success. After it failed the first time, I downloaded the Morse.zip archive and used the files from there but I still got errors.

The errors displayed are as follows:

In file included from C:\Program Files\arduino-0013\hardware\cores\arduino/WProgram.h:4,

c:/program files/arduino-0013/hardware/tools/avi/lib/gcc/../../avr/include/stdlib.h:111: error: expected unqualified-id before 'int'

c:/program files/arduino-0013/hardware/tools/avi/lib/gcc/../../avr/include/stdlib.h:111: error: expected ')' before 'int'

c:/program files/arduino-0013/hardware/tools/avi/lib/gcc/../../avr/include/stdlib.h:111: error: expected ')' before 'int'

In file included from C:\Program Files\arduino-0013\hardware\cores\arduino/WProgram.h:6,

It looks like there should be more error messages but the above was all that was displayed.

Does anyone know what is going on and how I can fix it please.

Try adding

#include <Morse.h>
#undef abs

to your sketch.

Mikal