How to "include" tone library into a ATtiny45 ?

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