WProgram.h: No such file or directory with Arduino.h changed

Did you check inside these included files as well?