pitches.h library is needed. You can find it here : http://arduino.cc/en/Tutorial/tone