How to "include" tone library into a ATtiny45 ?

Hi.. I'm using the small ATtiny45 and need it to run the tone function.. When I'm compiling it says: 'tone' was not declared in this scope'

Any Idea?

Thank you very much.

The ATTiny45 is not a standard Arduino and the 'tone()' function is part of the Arduino core. Sounds like the ATtiny core you installed doesn't support the tone() function. Have you tried the 'arduino-tiny' core;

https://code.google.com/p/arduino-tiny/downloads/list