http://playground.arduino.cc/Code/Library  

"//It is very important to remember this! note that if you are using Arduino 1.0 IDE, change "WProgram.h" to "Arduino.h" "

it is in the "Learn c++ class syntax" section