WProgram.h: No such file or directory

In MAX6675.h, I changed "WProgram.h" to "Arduino.h"
In MAX6675.cpp, I changed "WProgram.h" to "Arduino.h" (or you can delete the #include completely)

In the "read_temp" example, I changed

int SCKpin = 13;             // SCK pin of MAX6675
int units = 2;            // Units to readout temp (0 = raw, 1 = ?C, 2 = ?F)
float temperature = 0.0;  // Temperature output variable


// Initialize the MAX6675 Library for our chip
MAX6675 temp(CS,SO,SCKpin,units);

and I got the error message

Binary sketch size: 5264 bytes (of a 14336 byte maximum)

(Compiling on 1.0 for a 2009)

OP, please use code tags when posting code.