Arduino Controlled RC Helicopter

I am trying to control the Syma S107 helicopter with my Arduino and I have already received the IR signals, but now I want to send them to the helicopter from my Arduino. I am struggling to find a way to send the signals to the helicopter. I tried using the IR library, but when I used the IRSend sketch, I received an error on IRSend irsend; and it said that IRSend didn't have a type. Also, I tried using the following code which didn't work; and it is the first code displayed on the page below.

I received an error on IRSend irsend

But you didn't think we'd need to see the code or the error?

Good luck.