PSXLibrary Problems

so I downloaded this library from Arduino Playground - PSXLibrary and unzipped it in ~/arduino-0021/libraries/
I just tried loading the library in the following code:

#include <Psx.h>

void setup() {
}

void loop() {
  
}

and I couldn't get it to work and I got this error:

In file included from C:\Programs\arduino-0021\arduino-0021\hardware\arduino\cores\arduino/WProgram.h:6,
from Dualshock.cpp:4:
c:/programs/arduino-0021/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected unqualified-id before 'double'
c:/programs/arduino-0021/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected )' before 'double' c:/programs/arduino-0021/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected )' before 'double'

I tried googling the error but I can't find a proper fix.