tone1 library won't compile

I downloaded the tone1 library, and created the example program to test it.
When I compile it I get a bunch of errors caused by the tone1.cpp file as follows:

/Users/Unclefrank/Documents/Arduino/libraries/Tone/Tone.cpp: In member function 'void Tone::begin(uint8_t)':
/Users/Unclefrank/Documents/Arduino/libraries/Tone/Tone.cpp:121: error: 'bitWrite' was not declared in this scope
/Users/Unclefrank/Documents/Arduino/libraries/Tone/Tone.cpp:123: error: 'digitalPinToPort' was not declared in this scope
/Users/Unclefrank/Documents/Arduino/libraries/Tone/Tone.cpp:123: error: 'portOutputRegister' was not declared in this scope
/Users/Unclefrank/Documents/Arduino/libraries/Tone/Tone.cpp:124: error: 'digitalPinToBitMask' was not declared in this scope
/Users/Unclefrank/Documents/Arduino/libraries/Tone/Tone.cpp: In member function 'void Tone::play(uint16_t, uint32_t)':
/Users/Unclefrank/Documents/Arduino/libraries/Tone/Tone.cpp:198: error: 'OUTPUT' was not declared in this scope
/Users/Unclefrank/Documents/Arduino/libraries/Tone/Tone.cpp:198: error: 'pinMode' was not declared in this scope
/Users/Unclefrank/Documents/Arduino/libraries/Tone/Tone.cpp:294: error: 'bitWrite' was not declared in this scope
/Users/Unclefrank/Documents/Arduino/libraries/Tone/Tone.cpp: In member function 'void Tone::stop()':
/Users/Unclefrank/Documents/Arduino/libraries/Tone/Tone.cpp:361: error: 'digitalWrite' was not declared in this scope

Any clue would be greatly appreciated.
Frank

Where did you download it from? We need to see the source code to determine what's the cause...

I got the code from the Arduino tone library.
http://rogue-code.googlecode.com/files/Arduino-Library-Tone.zip

unclefrank:
I got the code from the Arduino tone library.
http://rogue-code.googlecode.com/files/Arduino-Library-Tone.zip

Ok. I downloaded it, extracted the Tone folder from the ZIP file into the Arduino libraries folder, and tried to compile an example; I got just one error, saying:

error: wiring.h: No such file or directory

Apparently this is old code. I edited the Tone.cpp file, line #26, like so:

// #include <wiring.h> 
#include <arduino.h> // This is a new line added by me

And it compiles without complaint. Can you reproduce these steps?

Thanx! The #include fixed it!
Regards,
Frank