Error with the new library and example program

Hello I need help to get this program to work with the rugged gadget shield:

When I tried to run this example program for the accelerometer wasn't able to get it to work. All I got where error messages saying:

In file included from sketch_jan13a.ino:2:

/Users/alexburton/Documents/Arduino/libraries/GadgetShield/GadgetShield.h:27:22: error: WProgram.h: No such file or directory

In file included from sketch_jan13a.ino:2:

/Users/alexburton/Documents/Arduino/libraries/GadgetShield/GadgetShield.h: In member function 'uint8_t GadgetShield::IRReceive()':

/Users/alexburton/Documents/Arduino/libraries/GadgetShield/GadgetShield.h:207: error: 'digitalRead' was not declared in this scope

/Users/alexburton/Documents/Arduino/libraries/GadgetShield/GadgetShield.h:207: error: 'LOW' was not declared in this scope

Can someone tell me what is happening I'm using a mac and a ruggedino so there might be something I need to download

This is where I downloaded the library from.

Open the file /Users/alexburton/Documents/Arduino/libraries/GadgetShield/GadgetShield.h
goto line 27

Change "WProgram.h"
TO "Arduino.h"

save the changes and try to compile again.