Help!!ERROR FOR LIBRARY FOLDER[Solved]

Arduino: 1.5.7 (Windows 8), Board: “Arduino Uno”

In file included from C:\Users\YikWei\Documents\Arduino\libraries\Keypad/Keypad.h:36:0,
from sketch_jan28c.ino:2:
C:\Users\YikWei\Documents\Arduino\libraries\Keypad/utility/Key.h:46:15: error: redeclaration of ‘IDLE’
typedef enum{ IDLE, PRESSED, HOLD, RELEASED } KeyState;
^
In file included from D:\Softwares\Arduino\libraries\GSM\src/GSM3MobileNetworkProvider.h:37:0,
from D:\Softwares\Arduino\libraries\GSM\src/GSM3MobileClientService.h:37,
from D:\Softwares\Arduino\libraries\GSM\src/GSM.h:42,
from sketch_jan28c.ino:1:
D:\Softwares\Arduino\libraries\GSM\src/GSM3MobileAccessProvider.h:37:36: note: previous declaration ‘GSM3_NetworkStatus_t IDLE’
enum GSM3_NetworkStatus_t { ERROR, IDLE, CONNECTING, GSM_READY, GPRS_READY, TRANSPARENT_CONNECTED};
^

This report would have more information with
“Show verbose output during compilation”
enabled in File > Preferences.

Hi,

I get this when i include keypad.h with gsm.h,they work fine when standalone.
How should i fix this?
Any help would appreciate much.

Keypad.zip (18.1 KB)

http://forum.arduino.cc/index.php?topic=195316.0